diff options
author | hunt <hunt> | 2008-02-07 18:26:10 +0000 |
---|---|---|
committer | hunt <hunt> | 2008-02-07 18:26:10 +0000 |
commit | dd09faf3e937d62dce3629e33689a8f2f64ce4ad (patch) | |
tree | 0a443ec49ba69c18d89649e4240d0c7ecc6c92a1 | |
parent | 47683be64546814f9bf7f48e62c916d7901e336e (diff) | |
download | systemtap-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/ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/systemtap.base/debugpath.exp | 5 |
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 } + |