summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog5
-rw-r--r--testsuite/systemtap.base/debugpath.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 9f82e039..07af851d 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-07 Martin Hunt <hunt@redhat.com>
+
+ * systemtap.base/debugpath.exp: Remove explicit closes.
+ Stap will terminate without help, and cleanup after itself.
+
2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
* systemtap.context/backtrace.tcl: Fixed regular expressions and Added
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 }
+