From: hunt Date: Thu, 7 Feb 2008 18:26:10 +0000 (+0000) Subject: 2008-02-07 Martin Hunt X-Git-Tag: release-0.6.2~73 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dd09faf3e937d62dce3629e33689a8f2f64ce4ad;p=systemtap.git 2008-02-07 Martin Hunt * systemtap.base/debugpath.exp: Remove explicit closes. Stap will terminate without help, and cleanup after itself. --- diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 9f82e0398..07af851db 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-02-07 Martin Hunt + + * systemtap.base/debugpath.exp: Remove explicit closes. + Stap will terminate without help, and cleanup after itself. + 2008-02-06 Masami Hiramatsu * systemtap.context/backtrace.tcl: Fixed regular expressions and Added diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp index 67b9eb706..ffa4ba7b2 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 } +