summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-11-03 01:58:48 -0500
committerWenji Huang <wenji.huang@oracle.com>2008-11-03 01:58:48 -0500
commit8576ea4be5619d9c169cab385ac0d31174fdee41 (patch)
tree41574e5224c9b8af2ca64d4e85b3900d775708a1 /testsuite/systemtap.base
parent3be7261ad2c9496868e131147770fb3e9e409679 (diff)
downloadsystemtap-steved-8576ea4be5619d9c169cab385ac0d31174fdee41.tar.gz
systemtap-steved-8576ea4be5619d9c169cab385ac0d31174fdee41.tar.xz
systemtap-steved-8576ea4be5619d9c169cab385ac0d31174fdee41.zip
Fix hung test due to workaround for PR6964.
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r--testsuite/systemtap.base/cmd_parse.exp14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp
index 733881a1..ef32798e 100644
--- a/testsuite/systemtap.base/cmd_parse.exp
+++ b/testsuite/systemtap.base/cmd_parse.exp
@@ -5,7 +5,7 @@ if {![installtest_p]} {
return
}
-spawn stap -c {echo "hello world"} -we {probe begin {}}
+spawn stap -c {echo "hello world"} -we {probe begin {exit()}}
expect {
-timeout 60
"hello world" {pass "cmd_parse1"}
@@ -14,7 +14,7 @@ expect {
}
wait;close
-spawn stap -c {echo "hello "\"world\"} -we {probe begin {}}
+spawn stap -c {echo "hello "\"world\"} -we {probe begin {exit()}}
expect {
-timeout 60
"hello \"world\"" {pass "cmd_parse2"}
@@ -23,7 +23,7 @@ expect {
}
wait;close
-spawn stap -c {sh -c '(a="hello world"; echo $a)'} -we {probe begin {}}
+spawn stap -c {sh -c '(a="hello world"; echo $a)'} -we {probe begin {exit()}}
expect {
-timeout 60
"hello world" {pass "cmd_parse3"}
@@ -32,7 +32,7 @@ expect {
}
wait;close
-spawn stap -c {sh -c '(a="hello "\"world\"; echo $a)'} -we {probe begin {}}
+spawn stap -c {sh -c '(a="hello "\"world\"; echo $a)'} -we {probe begin {exit()}}
expect {
-timeout 60
"hello \"world\"" {pass "cmd_parse4"}
@@ -41,7 +41,7 @@ expect {
}
wait;close
-spawn stap -c {sh -c '(a="hello "world; echo $a)'} -we {probe begin {}}
+spawn stap -c {sh -c '(a="hello "world; echo $a)'} -we {probe begin {exit()}}
expect {
-timeout 60
"hello world" {pass "cmd_parse5"}
@@ -50,7 +50,7 @@ expect {
}
wait;close
-spawn stap -c {bash -c '((a=42+7)); echo "The answer is $a"'} -we {probe begin {}}
+spawn stap -c {bash -c '((a=42+7)); echo "The answer is $a"'} -we {probe begin {exit()}}
expect {
-timeout 60
"The answer is 49" {pass "cmd_parse6"}
@@ -59,7 +59,7 @@ expect {
}
wait;close
-spawn stap -c {sh -c '(echo "Hello World" 1>&2) > /dev/null'} -we {probe begin {}}
+spawn stap -c {sh -c '(echo "Hello World" 1>&2) > /dev/null'} -we {probe begin {exit()}}
expect {
-timeout 60
"Hello World" {pass "cmd_parse7"}