diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-05-27 17:40:00 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-05-27 17:43:04 -0400 |
commit | 7938bd829dfd82c40b35d536b5913e666c1454d2 (patch) | |
tree | 2022964dca31d53b6eee3fe9588e955c410ec53e /testsuite/systemtap.context | |
parent | 16a02dfb97fd3979d0f517a71a6aba050a3bed98 (diff) | |
download | systemtap-steved-7938bd829dfd82c40b35d536b5913e666c1454d2.tar.gz systemtap-steved-7938bd829dfd82c40b35d536b5913e666c1454d2.tar.xz systemtap-steved-7938bd829dfd82c40b35d536b5913e666c1454d2.zip |
testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie cleanup
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, 3 insertions, 7 deletions
diff --git a/testsuite/systemtap.context/args.tcl b/testsuite/systemtap.context/args.tcl index 7cb79cdf..3a1ecb23 100644 --- a/testsuite/systemtap.context/args.tcl +++ b/testsuite/systemtap.context/args.tcl @@ -54,5 +54,4 @@ expect { eof {fail "function arguments: unexpected timeout"} } exec kill -INT -[exp_pid] -close -wait +closewait diff --git a/testsuite/systemtap.context/backtrace.tcl b/testsuite/systemtap.context/backtrace.tcl index 6c8aee40..f9e14b31 100644 --- a/testsuite/systemtap.context/backtrace.tcl +++ b/testsuite/systemtap.context/backtrace.tcl @@ -163,6 +163,4 @@ if {$m6 == 5} { } - -close -wait +closewait diff --git a/testsuite/systemtap.context/pid.tcl b/testsuite/systemtap.context/pid.tcl index a2c091f1..f9dffba7 100644 --- a/testsuite/systemtap.context/pid.tcl +++ b/testsuite/systemtap.context/pid.tcl @@ -28,5 +28,4 @@ expect { timeout {fail "all pid tests - timeout"} eof {fail "all pid tests - unexpected EOF"} } -catch {close} -wait +closewait |