From 4e14d2355434bef975d1e2a1ea05c1a159fcecde Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 23 Feb 2008 20:37:18 +0000 Subject: PR5770: false systemtap/eof/timeout messages in testsuite.log 2008-02-23 Frank Ch. Eigler * */*.exp: Change all "send \003" to "exec kill -INT -" in order to more reliably kill an inferior stap/stapio/staprun process group. --- testsuite/systemtap.maps/ix_clear.exp | 2 +- testsuite/systemtap.maps/ix_clear2.exp | 2 +- testsuite/systemtap.maps/ix_clear3.exp | 2 +- testsuite/systemtap.maps/pmap_agg_overflow.exp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.maps') diff --git a/testsuite/systemtap.maps/ix_clear.exp b/testsuite/systemtap.maps/ix_clear.exp index 0c6ca6c3..07417898 100644 --- a/testsuite/systemtap.maps/ix_clear.exp +++ b/testsuite/systemtap.maps/ix_clear.exp @@ -14,7 +14,7 @@ expect { pass "$test passed" } timeout { - send "\003" + exec kill -INT -[exp_pid] fail "$test timed out" } eof { diff --git a/testsuite/systemtap.maps/ix_clear2.exp b/testsuite/systemtap.maps/ix_clear2.exp index c5e72c36..a1b68628 100644 --- a/testsuite/systemtap.maps/ix_clear2.exp +++ b/testsuite/systemtap.maps/ix_clear2.exp @@ -15,7 +15,7 @@ expect { pass "$test passed" } timeout { - send "\003" + exec kill -INT -[exp_pid] fail "$test timed out" } eof { diff --git a/testsuite/systemtap.maps/ix_clear3.exp b/testsuite/systemtap.maps/ix_clear3.exp index 7674fdbc..a2935470 100644 --- a/testsuite/systemtap.maps/ix_clear3.exp +++ b/testsuite/systemtap.maps/ix_clear3.exp @@ -13,7 +13,7 @@ expect { pass "$test passed" } timeout { - send "\003" + exec kill -INT -[exp_pid] fail "$test timed out" } eof { diff --git a/testsuite/systemtap.maps/pmap_agg_overflow.exp b/testsuite/systemtap.maps/pmap_agg_overflow.exp index 1b0a7234..99665057 100644 --- a/testsuite/systemtap.maps/pmap_agg_overflow.exp +++ b/testsuite/systemtap.maps/pmap_agg_overflow.exp @@ -19,7 +19,7 @@ expect { set unsupported 1 } timeout { - send "\003" + exec kill -INT -[exp_pid] fail "$test timed out" } eof {} -- cgit