summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/crash.exp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-27 17:40:00 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-27 17:43:04 -0400
commit7938bd829dfd82c40b35d536b5913e666c1454d2 (patch)
tree2022964dca31d53b6eee3fe9588e955c410ec53e /testsuite/systemtap.samples/crash.exp
parent16a02dfb97fd3979d0f517a71a6aba050a3bed98 (diff)
downloadsystemtap-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.samples/crash.exp')
-rw-r--r--testsuite/systemtap.samples/crash.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.samples/crash.exp b/testsuite/systemtap.samples/crash.exp
index 9c3e5e05..453a510b 100644
--- a/testsuite/systemtap.samples/crash.exp
+++ b/testsuite/systemtap.samples/crash.exp
@@ -19,7 +19,7 @@ expect {
timeout { fail "$test - testlog.stp timeout" }
timeout { fail "$test - testlog.stp eof" }
}
-catch { exec kill -INT -[exp_pid]; close ; wait }
+catch { exec kill -INT -[exp_pid]; closewait }
# The crash(8) script creates testlog/global or testlog/cpu<n>
as_root { chmod -R a+rX testlog }