From 7938bd829dfd82c40b35d536b5913e666c1454d2 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 27 May 2008 17:40:00 -0400 Subject: testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie cleanup --- testsuite/lib/stap_run.exp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuite/lib/stap_run.exp') diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp index 42efa4f8..aa681c22 100644 --- a/testsuite/lib/stap_run.exp +++ b/testsuite/lib/stap_run.exp @@ -90,8 +90,7 @@ proc stap_run { TEST_NAME {LOAD_GEN_FUNCTION ""} {OUTPUT_CHECK_STRING ""} args } } # again for good measure exec kill -INT -[exp_pid] - catch close - wait + closewait } proc no_load {} { -- cgit