summaryrefslogtreecommitdiffstats
path: root/tapset/test/run.sh
diff options
context:
space:
mode:
authordsmith <dsmith>2006-09-26 21:37:02 +0000
committerdsmith <dsmith>2006-09-26 21:37:02 +0000
commit2d323e45a77a446753d749ff5038ff548a2c7537 (patch)
tree8c31d2ab990ffbb9db5bbb2fa1d1fb1e864ab5fe /tapset/test/run.sh
parent0eb02aeb72119cb189dd72dcf64b5b5949b38bbd (diff)
downloadsystemtap-steved-2d323e45a77a446753d749ff5038ff548a2c7537.tar.gz
systemtap-steved-2d323e45a77a446753d749ff5038ff548a2c7537.tar.xz
systemtap-steved-2d323e45a77a446753d749ff5038ff548a2c7537.zip
2006-09-26 David Smith <dsmith@redhat.com>
* test/run.sh: Changed 'stpd' references to 'staprun'.
Diffstat (limited to 'tapset/test/run.sh')
-rwxr-xr-xtapset/test/run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tapset/test/run.sh b/tapset/test/run.sh
index c842c72d..fd43591b 100755
--- a/tapset/test/run.sh
+++ b/tapset/test/run.sh
@@ -46,9 +46,9 @@ function spiteven {
trap got_trap 1 2 3 6
function got_trap {
echo -e "\nGot signaled. Cleaning up...\n"
- if [ `ps -A|grep stpd|sed 's/^[ ^t]*//'|cut -d" " -f1 | wc -l` -gt 0 ]
+ if [ `ps -A|grep staprun|sed 's/^[ ^t]*//'|cut -d" " -f1 | wc -l` -gt 0 ]
then
- kill `ps -A|grep stpd|sed 's/^[ ^t]*//'|cut -d" " -f1`
+ kill `ps -A|grep staprun|sed 's/^[ ^t]*//'|cut -d" " -f1`
fi
if [ `ps -A|grep stap|sed 's/^[ ^t]*//'|cut -d" " -f1 | wc -l` -gt 0 ]
then
@@ -132,7 +132,7 @@ do
pid=""; ast=""
while [[ "$pid" == "" || "$ast" == "" ]]
do
- pid=`ps|grep stpd|sed 's/^[ ^t]*//'|cut -d" " -f1`
+ pid=`ps|grep staprun|sed 's/^[ ^t]*//'|cut -d" " -f1`
ast=`ps|grep stap|sed 's/^[ ^t]*//'|cut -d" " -f1`
sleep 1
done