summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog5
-rw-r--r--testsuite/systemtap.samples/args.exp12
2 files changed, 11 insertions, 6 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 57f1b29d..203c85dd 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-26 David Smith <dsmith@redhat.com>
+
+ * systemtap.samples/args.exp: Looks for 'staprun' instead of
+ 'stpd'.
+
2006-09-20 Josh Stone <joshua.i.stone@intel.com>
PR 3233
diff --git a/testsuite/systemtap.samples/args.exp b/testsuite/systemtap.samples/args.exp
index 14f19f17..0eb39801 100644
--- a/testsuite/systemtap.samples/args.exp
+++ b/testsuite/systemtap.samples/args.exp
@@ -2,12 +2,12 @@ set test "args"
if {![installtest_p]} { untested $test; return }
set stappath [exec which stap]
-set stpdpath [exec dirname $stappath]/../libexec/systemtap/stpd
+set staprunpath [exec which staprun]
-if [file exists $stpdpath] {
- pass "$test search for stpd ($stpdpath)"
+if [file exists $staprunpath] {
+ pass "$test search for staprun ($staprunpath)"
} else {
- fail "$test search for stpd"
+ fail "$test search for staprun"
return
}
@@ -37,7 +37,7 @@ if [file exists $modpath] {
return
}
-spawn sudo $stpdpath -r -d [pid] $modpath foo=hello bar=999
+spawn sudo $staprunpath -r -d [pid] $modpath foo=hello bar=999
set ok 0
expect {
-timeout 30
@@ -52,7 +52,7 @@ if {$ok == 1} {
fail "$test run 1"
}
-spawn sudo $stpdpath -r -d [pid] $modpath foo=goodbye bar=0
+spawn sudo $staprunpath -r -d [pid] $modpath foo=goodbye bar=0
set ok 0
expect {
-timeout 30