diff options
author | dsmith <dsmith> | 2006-09-26 21:35:56 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-09-26 21:35:56 +0000 |
commit | 33c95e70b40bd9b6f3e3d2a6b7c0458bc7ae1e6a (patch) | |
tree | 21b9ec89c2aad8cd92e291cb6cffc552788ec9e2 | |
parent | 8d4399dde2bdd7a1b8dff3d09aed5f696e7e248f (diff) | |
download | systemtap-steved-33c95e70b40bd9b6f3e3d2a6b7c0458bc7ae1e6a.tar.gz systemtap-steved-33c95e70b40bd9b6f3e3d2a6b7c0458bc7ae1e6a.tar.xz systemtap-steved-33c95e70b40bd9b6f3e3d2a6b7c0458bc7ae1e6a.zip |
2006-09-26 David Smith <dsmith@redhat.com>
* systemtap.samples/args.exp: Looks for 'staprun' instead of
'stpd'.
-rw-r--r-- | testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/systemtap.samples/args.exp | 12 |
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 |