summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cmd_parse.exp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-02-15 14:29:08 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-02-15 14:29:08 -0500
commit0f05501579dc0a4e66ccbbd8e0b29d052d9b5920 (patch)
tree79bf8b7b328e87e8c30cc64e64a1bea9a6f2dca5 /testsuite/systemtap.base/cmd_parse.exp
parent044427bcdfa2a1d58a912bf96546892bef82b717 (diff)
parent275f40a6d612f94e5272eeed772e9c9294cb8e1f (diff)
downloadsystemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.tar.gz
systemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.tar.xz
systemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.base/cmd_parse.exp')
-rw-r--r--testsuite/systemtap.base/cmd_parse.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp
index 31676a6f..cf15698f 100644
--- a/testsuite/systemtap.base/cmd_parse.exp
+++ b/testsuite/systemtap.base/cmd_parse.exp
@@ -13,6 +13,7 @@ expect {
timeout {fail "cmd_parse1: unexpected timeout"}
eof {fail "cmd_parse1: unexpected EOF"}
}
+wait
# stap -c 'echo "hello "\"world\"' -e 'probe begin {}'
spawn stap -c {echo "hello "\"world\"} -e {probe begin {}}
@@ -22,6 +23,7 @@ expect {
timeout {fail "cmd_parse2: unexpected timeout"}
eof {fail "cmd_parse2: unexpected EOF"}
}
+wait
#stap -c '(a="hello world"; echo $a)' -e 'probe begin {}'
spawn stap -c {(a="hello world"; echo $a)} -e {probe begin {}}
@@ -31,6 +33,7 @@ expect {
timeout {fail "cmd_parse3: unexpected timeout"}
eof {fail "cmd_parse3: unexpected EOF"}
}
+wait
#stap -c '(a="hello "\"world\"; echo $a)' -e 'probe begin {}'
spawn stap -c {(a="hello "\"world\"; echo $a)} -e {probe begin {}}
@@ -40,6 +43,7 @@ expect {
timeout {fail "cmd_parse4: unexpected timeout"}
eof {fail "cmd_parse4: unexpected EOF"}
}
+wait
#stap -c '(a="hello "world; echo $a)' -e 'probe begin {}'
spawn stap -c {(a="hello "world; echo $a)} -e {probe begin {}}
@@ -49,6 +53,7 @@ expect {
timeout {fail "cmd_parse5: unexpected timeout"}
eof {fail "cmd_parse5: unexpected EOF"}
}
+wait
#stap -c '(((a=42+7)); echo "The answer is $a")' -e 'probe begin {}'
spawn stap -c {(((a=42+7)); echo "The answer is $a")} -e {probe begin {}}
@@ -58,6 +63,7 @@ expect {
timeout {fail "cmd_parse6: unexpected timeout"}
eof {fail "cmd_parse6: unexpected EOF"}
}
+wait
#stap -c '(echo "Hello World" 1>&2) > /dev/null' -e 'probe begin {}'
spawn stap -c {(echo "Hello World" 1>&2) > /dev/null} -e {probe begin {}}
@@ -67,3 +73,4 @@ expect {
timeout {fail "cmd_parse7: unexpected timeout"}
eof {fail "cmd_parse7: unexpected EOF"}
}
+wait