summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/context.exp
diff options
context:
space:
mode:
authorfche <fche>2008-02-23 20:37:18 +0000
committerfche <fche>2008-02-23 20:37:18 +0000
commit4e14d2355434bef975d1e2a1ea05c1a159fcecde (patch)
treee9695c1a4defeacde66d53ea7d473b980cad2346 /testsuite/systemtap.context/context.exp
parentc7f8de3f00748047b92f117d77d18791eb7e8cca (diff)
downloadsystemtap-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.context/context.exp')
-rw-r--r--testsuite/systemtap.context/context.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.context/context.exp b/testsuite/systemtap.context/context.exp
index 11c0f2fc..71201a58 100644
--- a/testsuite/systemtap.context/context.exp
+++ b/testsuite/systemtap.context/context.exp
@@ -11,7 +11,7 @@ set build_dir ""
proc cleanup {} {
global build_dir
- catch {send "\003"}
+ catch { exec kill -INT -[exp_pid] }
foreach n {1 2} {
as_root [list /bin/rm -f /lib/modules/$::uname/kernel/systemtap_test_module$n.ko]
as_root [list /sbin/rmmod systemtap_test_module$n]