summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/ix_clear.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-03-14 07:11:11 +0000
committerhunt <hunt>2007-03-14 07:11:11 +0000
commit3b6fd2ea934f1d75174e5a786701c90f32553fe8 (patch)
treef1e359f5592625b3f2173885393aac3e8d853da8 /testsuite/systemtap.maps/ix_clear.stp
parentb272f21d2a42d44222cfc20f35025c324f6091c4 (diff)
downloadsystemtap-steved-3b6fd2ea934f1d75174e5a786701c90f32553fe8.tar.gz
systemtap-steved-3b6fd2ea934f1d75174e5a786701c90f32553fe8.tar.xz
systemtap-steved-3b6fd2ea934f1d75174e5a786701c90f32553fe8.zip
2007-03-14 Martin Hunt <hunt@redhat.com>
* 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.
Diffstat (limited to 'testsuite/systemtap.maps/ix_clear.stp')
-rwxr-xr-xtestsuite/systemtap.maps/ix_clear.stp7
1 files changed, 5 insertions, 2 deletions
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]))
+}