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 /testsuite/systemtap.samples | |
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'.
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r-- | testsuite/systemtap.samples/args.exp | 12 |
1 files changed, 6 insertions, 6 deletions
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 |