From 8404e6184256e2d580cbd1c97cb5859c625b99f7 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 28 May 2008 08:15:57 -0400 Subject: Revert "testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2. --- testsuite/systemtap.context/args.tcl | 3 ++- testsuite/systemtap.context/backtrace.tcl | 4 +++- testsuite/systemtap.context/pid.tcl | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.context') 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 -- cgit