summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/pid.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.context/pid.tcl')
-rw-r--r--testsuite/systemtap.context/pid.tcl3
1 files changed, 2 insertions, 1 deletions
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