diff options
author | fche <fche> | 2008-02-23 20:37:18 +0000 |
---|---|---|
committer | fche <fche> | 2008-02-23 20:37:18 +0000 |
commit | 4e14d2355434bef975d1e2a1ea05c1a159fcecde (patch) | |
tree | e9695c1a4defeacde66d53ea7d473b980cad2346 /testsuite/systemtap.samples | |
parent | c7f8de3f00748047b92f117d77d18791eb7e8cca (diff) | |
download | systemtap-steved-4e14d2355434bef975d1e2a1ea05c1a159fcecde.tar.gz systemtap-steved-4e14d2355434bef975d1e2a1ea05c1a159fcecde.tar.xz systemtap-steved-4e14d2355434bef975d1e2a1ea05c1a159fcecde.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 } |