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.context | |
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.context')
-rw-r--r-- | testsuite/systemtap.context/args.tcl | 3 | ||||
-rw-r--r-- | testsuite/systemtap.context/backtrace.tcl | 4 | ||||
-rw-r--r-- | testsuite/systemtap.context/pid.tcl | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/testsuite/systemtap.context/args.tcl b/testsuite/systemtap.context/args.tcl index 3a1ecb23..7cb79cdf 100644 --- a/testsuite/systemtap.context/args.tcl +++ b/testsuite/systemtap.context/args.tcl @@ -54,4 +54,5 @@ expect { eof {fail "function arguments: unexpected timeout"} } exec kill -INT -[exp_pid] -closewait +close +wait diff --git a/testsuite/systemtap.context/backtrace.tcl b/testsuite/systemtap.context/backtrace.tcl index f9e14b31..6c8aee40 100644 --- a/testsuite/systemtap.context/backtrace.tcl +++ b/testsuite/systemtap.context/backtrace.tcl @@ -163,4 +163,6 @@ if {$m6 == 5} { } -closewait + +close +wait diff --git a/testsuite/systemtap.context/pid.tcl b/testsuite/systemtap.context/pid.tcl index f9dffba7..a2c091f1 100644 --- a/testsuite/systemtap.context/pid.tcl +++ b/testsuite/systemtap.context/pid.tcl @@ -28,4 +28,5 @@ expect { timeout {fail "all pid tests - timeout"} eof {fail "all pid tests - unexpected EOF"} } -closewait +catch {close} +wait |