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.base/debugpath.exp | |
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.base/debugpath.exp')
-rw-r--r-- | testsuite/systemtap.base/debugpath.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp index b0b12207..a3b3b051 100644 --- a/testsuite/systemtap.base/debugpath.exp +++ b/testsuite/systemtap.base/debugpath.exp @@ -7,7 +7,7 @@ expect { eof { fail "$test (eof)" } } -wait +closewait set test "debugpath-good" spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug stap -e "probe kernel.function(\"sys_open\") {}" -p2 @@ -17,4 +17,4 @@ expect { eof { fail "$test (eof)" } } -wait +closewait |