diff options
Diffstat (limited to 'testsuite/lib')
-rw-r--r-- | testsuite/lib/stap_run.exp | 3 | ||||
-rw-r--r-- | testsuite/lib/systemtap.exp | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp index aa681c22..42efa4f8 100644 --- a/testsuite/lib/stap_run.exp +++ b/testsuite/lib/stap_run.exp @@ -90,7 +90,8 @@ proc stap_run { TEST_NAME {LOAD_GEN_FUNCTION ""} {OUTPUT_CHECK_STRING ""} args } } # again for good measure exec kill -INT -[exp_pid] - closewait + catch close + wait } proc no_load {} { diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp index 74fcc7af..0f6a69dd 100644 --- a/testsuite/lib/systemtap.exp +++ b/testsuite/lib/systemtap.exp @@ -129,8 +129,3 @@ proc as_root { command } { verbose -log "RC $res" return $res } - -proc closewait { args } { - catch { if {"$args" == "" } then { close -slave } else { eval "close $args" } } - catch { wait } -} |