From 63baaffd1036817f39063a6a0d4b6bb8478bb4f5 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 21 May 2008 11:47:52 -0400 Subject: PR6538: explain why absentstats.stp logs will contain warnings --- testsuite/systemtap.maps/absentstats.stp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuite/systemtap.maps') diff --git a/testsuite/systemtap.maps/absentstats.stp b/testsuite/systemtap.maps/absentstats.stp index aeb176a1..0968cd58 100644 --- a/testsuite/systemtap.maps/absentstats.stp +++ b/testsuite/systemtap.maps/absentstats.stp @@ -1,5 +1,9 @@ # stap -DMAXERRORS=40 +# NB: PR 6538 will cause systemtap to warn about the read-only globals; +# we can't help that though since the point of this test is to see what +# happens when an empty (never written-to) aggregate is queried. + global sc probe begin { println(@count(sc)) } probe begin { print(@sum(sc)) } -- cgit From e4982af5877cbd406e1f508e59e20b740bd96551 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 21 May 2008 12:17:58 -0400 Subject: PR6538: more testsuite tweaks for read-only warnings --- testsuite/systemtap.maps/linear_empty.exp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuite/systemtap.maps') diff --git a/testsuite/systemtap.maps/linear_empty.exp b/testsuite/systemtap.maps/linear_empty.exp index 9bcc64eb..88a53a31 100644 --- a/testsuite/systemtap.maps/linear_empty.exp +++ b/testsuite/systemtap.maps/linear_empty.exp @@ -4,6 +4,5 @@ set test "linear_empty" set ::result_string {count=0 } -stap_run2 $srcdir/$subdir/$test.stp - +stap_run2 $srcdir/$subdir/$test.stp -w -- cgit