summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2008-02-07 18:26:10 +0000
committerhunt <hunt>2008-02-07 18:26:10 +0000
commitdd09faf3e937d62dce3629e33689a8f2f64ce4ad (patch)
tree0a443ec49ba69c18d89649e4240d0c7ecc6c92a1
parent47683be64546814f9bf7f48e62c916d7901e336e (diff)
downloadsystemtap-steved-dd09faf3e937d62dce3629e33689a8f2f64ce4ad.tar.gz
systemtap-steved-dd09faf3e937d62dce3629e33689a8f2f64ce4ad.tar.xz
systemtap-steved-dd09faf3e937d62dce3629e33689a8f2f64ce4ad.zip
2008-02-07 Martin Hunt <hunt@redhat.com>
* systemtap.base/debugpath.exp: Remove explicit closes. Stap will terminate without help, and cleanup after itself.
-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 }
+