summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r--testsuite/systemtap.base/debugpath.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp
index 67b9eb70..ffa4ba7b 100644
--- a/testsuite/systemtap.base/debugpath.exp
+++ b/testsuite/systemtap.base/debugpath.exp
@@ -6,7 +6,8 @@ expect {
timeout { fail "$test (timeout1)" }
eof { fail "$test (eof)" }
}
-catch { close; wait }
+
+wait
set test "debugpath-good"
spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug stap -e "probe kernel.function(\"sys_open\") {}" -p2
@@ -15,4 +16,4 @@ expect {
timeout { fail "$test (timeout2)" }
eof { fail "$test (eof)" }
}
-catch { close ; wait }
+