From 3b6fd2ea934f1d75174e5a786701c90f32553fe8 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 14 Mar 2007 07:11:11 +0000 Subject: 2007-03-14 Martin Hunt * systemtap.base/div0.stp: Fix so output won't possibly have the error message before the printed output. * systemtap.base/maxactive.exp: Ditto. * systemtap.maps/ix_clear.stp: Ditto. * systemtap.maps/ix_clear2.stp: Ditto. * systemtap.samples/args.exp: Remove obsolete "-r" option to staprun. --- testsuite/systemtap.maps/ix_clear.stp | 7 +++++-- testsuite/systemtap.maps/ix_clear2.stp | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.maps') diff --git a/testsuite/systemtap.maps/ix_clear.stp b/testsuite/systemtap.maps/ix_clear.stp index a36e5400..dd8c63a0 100755 --- a/testsuite/systemtap.maps/ix_clear.stp +++ b/testsuite/systemtap.maps/ix_clear.stp @@ -6,7 +6,10 @@ probe begin { foo[1] <<< 1 printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1])) delete foo[1] - printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1])) - exit() } +probe timer.ms(1000) { exit() } + +probe end { + printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1])) +} diff --git a/testsuite/systemtap.maps/ix_clear2.stp b/testsuite/systemtap.maps/ix_clear2.stp index cedec482..cc2bb9ee 100755 --- a/testsuite/systemtap.maps/ix_clear2.stp +++ b/testsuite/systemtap.maps/ix_clear2.stp @@ -6,7 +6,11 @@ probe begin { foo[1] <<< 1 printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1])) delete foo +} + +probe timer.ms(1000) { exit() } + +probe end { printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1])) - exit() } -- cgit