From 33c95e70b40bd9b6f3e3d2a6b7c0458bc7ae1e6a Mon Sep 17 00:00:00 2001 From: dsmith Date: Tue, 26 Sep 2006 21:35:56 +0000 Subject: [PATCH] 2006-09-26 David Smith * systemtap.samples/args.exp: Looks for 'staprun' instead of 'stpd'. --- testsuite/ChangeLog | 5 +++++ testsuite/systemtap.samples/args.exp | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 57f1b29dd..203c85dd1 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-09-26 David Smith + + * systemtap.samples/args.exp: Looks for 'staprun' instead of + 'stpd'. + 2006-09-20 Josh Stone PR 3233 diff --git a/testsuite/systemtap.samples/args.exp b/testsuite/systemtap.samples/args.exp index 14f19f170..0eb39801b 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 -- 2.43.5