diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-05-28 08:15:57 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-05-28 08:15:57 -0400 |
commit | 8404e6184256e2d580cbd1c97cb5859c625b99f7 (patch) | |
tree | 562347b5d8626fd99f7b94e33c24e619753330f0 /testsuite/systemtap.base/cmd_parse.exp | |
parent | a2eab6ee228991f3ebfa5f628857ec6c703c85d1 (diff) | |
download | systemtap-steved-8404e6184256e2d580cbd1c97cb5859c625b99f7.tar.gz systemtap-steved-8404e6184256e2d580cbd1c97cb5859c625b99f7.tar.xz systemtap-steved-8404e6184256e2d580cbd1c97cb5859c625b99f7.zip |
Revert "testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie cleanup"
This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
Diffstat (limited to 'testsuite/systemtap.base/cmd_parse.exp')
-rw-r--r-- | testsuite/systemtap.base/cmd_parse.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp index 9fcad31a..cbce0455 100644 --- a/testsuite/systemtap.base/cmd_parse.exp +++ b/testsuite/systemtap.base/cmd_parse.exp @@ -13,7 +13,7 @@ expect { timeout {fail "cmd_parse1: unexpected timeout"} eof {fail "cmd_parse1: unexpected EOF"} } -closewait +wait # stap -c 'echo "hello "\"world\"' -e 'probe begin {}' spawn stap -c {echo "hello "\"world\"} -e {probe begin {}} @@ -23,7 +23,7 @@ expect { timeout {fail "cmd_parse2: unexpected timeout"} eof {fail "cmd_parse2: unexpected EOF"} } -closewait +wait #stap -c '(a="hello world"; echo $a)' -e 'probe begin {}' spawn stap -c {(a="hello world"; echo $a)} -e {probe begin {}} @@ -33,7 +33,7 @@ expect { timeout {fail "cmd_parse3: unexpected timeout"} eof {fail "cmd_parse3: unexpected EOF"} } -closewait +wait #stap -c '(a="hello "\"world\"; echo $a)' -e 'probe begin {}' spawn stap -c {(a="hello "\"world\"; echo $a)} -e {probe begin {}} @@ -43,7 +43,7 @@ expect { timeout {fail "cmd_parse4: unexpected timeout"} eof {fail "cmd_parse4: unexpected EOF"} } -closewait +wait #stap -c '(a="hello "world; echo $a)' -e 'probe begin {}' spawn stap -c {(a="hello "world; echo $a)} -e {probe begin {}} @@ -53,7 +53,7 @@ expect { timeout {fail "cmd_parse5: unexpected timeout"} eof {fail "cmd_parse5: unexpected EOF"} } -closewait +wait #stap -c '(((a=42+7)); echo "The answer is $a")' -e 'probe begin {}' # NB: not ((a=42+7)) - must not assume bash @@ -64,7 +64,7 @@ expect { timeout {fail "cmd_parse6: unexpected timeout"} eof {fail "cmd_parse6: unexpected EOF"} } -closewait +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 {}} @@ -74,7 +74,7 @@ expect { timeout {fail "cmd_parse7: unexpected timeout"} eof {fail "cmd_parse7: unexpected EOF"} } -closewait +wait spawn stap -l {vm.*} expect { @@ -83,4 +83,4 @@ expect { timeout {fail "cmd_parse8: unexpected timeout"} eof {fail "cmd_parse8: unexpected EOF"} } -closewait +wait |