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/systemtap.samples/syscalls2.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.samples/syscalls2.exp') diff --git a/testsuite/systemtap.samples/syscalls2.exp b/testsuite/systemtap.samples/syscalls2.exp index 7bbd9a51..0a171a75 100644 --- a/testsuite/systemtap.samples/syscalls2.exp +++ b/testsuite/systemtap.samples/syscalls2.exp @@ -9,7 +9,7 @@ expect { eof { } } #FIXME does not handle case of hanging psyscalls.stp correctly -wait +closewait # 150 is conservative - it's larger than 100 to allow a bit of slop # between the exit() call and the actual shutdown if {$ok >= 100 && $ok < 150} { pass "$test ($ok)" } { fail "$test ($ok)" } -- cgit