diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-02-23 15:36:53 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-02-23 15:36:53 -0500 |
commit | 53de687e0ca376db7ff55219833542982e477900 (patch) | |
tree | e9695c1a4defeacde66d53ea7d473b980cad2346 /testsuite/systemtap.samples | |
parent | b82961aac5cf401b2fbd52970cd28766b026d0aa (diff) | |
download | systemtap-steved-53de687e0ca376db7ff55219833542982e477900.tar.gz systemtap-steved-53de687e0ca376db7ff55219833542982e477900.tar.xz systemtap-steved-53de687e0ca376db7ff55219833542982e477900.zip |
PR5770: false systemtap/eof/timeout messages in testsuite.log
2008-02-23 Frank Ch. Eigler <fche@elastic.org>
* */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order
to more reliably kill an inferior stap/stapio/staprun process group.
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r-- | testsuite/systemtap.samples/crash.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.samples/crash.exp b/testsuite/systemtap.samples/crash.exp index 629cff54..9c3e5e05 100644 --- a/testsuite/systemtap.samples/crash.exp +++ b/testsuite/systemtap.samples/crash.exp @@ -19,7 +19,7 @@ expect { timeout { fail "$test - testlog.stp timeout" } timeout { fail "$test - testlog.stp eof" } } -catch { send "\003"; close ; wait } +catch { exec kill -INT -[exp_pid]; close ; wait } # The crash(8) script creates testlog/global or testlog/cpu<n> as_root { chmod -R a+rX testlog } |