From dd09faf3e937d62dce3629e33689a8f2f64ce4ad Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 7 Feb 2008 18:26:10 +0000 Subject: 2008-02-07 Martin Hunt * systemtap.base/debugpath.exp: Remove explicit closes. Stap will terminate without help, and cleanup after itself. --- testsuite/systemtap.base/debugpath.exp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.base') 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 } + -- cgit