summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-06-20 16:43:05 -0400
committerWilliam Cohen <wcohen@redhat.com>2008-06-20 16:43:05 -0400
commit9edcdf51d116af251d07d1ddbe6ead553cccf03c (patch)
tree114e26119edbeef4992839dfa0666b92582795c0
parent7fe8474a7a266329b32e4f64af7f642a591799d7 (diff)
downloadsystemtap-steved-9edcdf51d116af251d07d1ddbe6ead553cccf03c.tar.gz
systemtap-steved-9edcdf51d116af251d07d1ddbe6ead553cccf03c.tar.xz
systemtap-steved-9edcdf51d116af251d07d1ddbe6ead553cccf03c.zip
Correct test_check and test_installcheck commands.
-rw-r--r--testsuite/systemtap.examples/ChangeLog4
-rw-r--r--testsuite/systemtap.examples/traceio2.meta4
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog
index 1f15cfd3..b1c34347 100644
--- a/testsuite/systemtap.examples/ChangeLog
+++ b/testsuite/systemtap.examples/ChangeLog
@@ -1,5 +1,9 @@
2008-06-20 William Cohen <wcohen@redhat.com>
+ * traceio2.meta: Correct test_check and test_installcheck commands.
+
+2008-06-20 William Cohen <wcohen@redhat.com>
+
* traceio2.stp, traceio2.meta: New.
2008-06-18 William Cohen <wcohen@redhat.com>
diff --git a/testsuite/systemtap.examples/traceio2.meta b/testsuite/systemtap.examples/traceio2.meta
index 89561e71..e6bca1a9 100644
--- a/testsuite/systemtap.examples/traceio2.meta
+++ b/testsuite/systemtap.examples/traceio2.meta
@@ -9,5 +9,5 @@ exit: user-controlled
output: trace
scope: system-wide
description: Print out the executable name and process number as reads and writes to the specified device occur.
-test_check: stap -p4 traceio2.stp `stat -c "0x%D" /`
-test_installcheck: stap traceio2.stp `stat -c "0x%D" /` -c "sleep 1"
+test_check: stap -p4 traceio2.stp 0x0801
+test_installcheck: /bin/sh eval stap traceio2.stp 0x0801 -c "sleep 1"