summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/preprocessor.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/preprocessor.exp')
-rw-r--r--testsuite/systemtap.base/preprocessor.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/preprocessor.exp b/testsuite/systemtap.base/preprocessor.exp
index e210cf4f..4e0c7fc2 100644
--- a/testsuite/systemtap.base/preprocessor.exp
+++ b/testsuite/systemtap.base/preprocessor.exp
@@ -48,5 +48,5 @@ expect {
eof { }
timeout { }
}
-closewait
+catch {close; wait}
if {$ok == 1} { pass $test } { fail $test }