From 94c98493aea16a4ef49b2eff31cf6ca98e92fddc Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 1 Oct 2008 07:07:39 -0400 Subject: fix test suite regression due to commit e91b23bc Reported-By: mjw --- testsuite/systemtap.base/optim_arridx.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/systemtap.base/optim_arridx.exp b/testsuite/systemtap.base/optim_arridx.exp index bef4d2b4..1f3f4371 100644 --- a/testsuite/systemtap.base/optim_arridx.exp +++ b/testsuite/systemtap.base/optim_arridx.exp @@ -58,7 +58,7 @@ end /* <- end */ # locals idx0:long { -foreach ([idx0] in arr3) printf("arr3[%#d]=%#x\\n", idx0, arr3[idx0]) +foreach ([idx0] in arr3-) printf("arr3[%#d]=%#x\\n", idx0, arr3[idx0]) } end /* <- end */ { -- cgit From dd4918442a55569175bda0575f746e84c99cee58 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 1 Oct 2008 13:38:16 +0200 Subject: Adjust semok/thirtythree.stp test to pass on older kernels. --- testsuite/ChangeLog | 5 +++++ testsuite/semok/thirtythree.stp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index f3fad077..4825cd27 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-10-01 Mark Wielaard + + * semok/thirtythree.stp: Use page->mapping instead of page->inuse + as annonymous struct value (also available in older kernels). + 2008-09-26 Frank Ch. Eigler PR 6916. diff --git a/testsuite/semok/thirtythree.stp b/testsuite/semok/thirtythree.stp index d5171f66..90070370 100755 --- a/testsuite/semok/thirtythree.stp +++ b/testsuite/semok/thirtythree.stp @@ -1,5 +1,5 @@ #! stap -p2 # Per bz3016, this should get through the semantic pass without warnings. probe kernel.function("do_mpage_readpage") { - printf("\n page ->inuse %u",$page->inuse) + printf("\n page->mapping %p",$page->mapping) } -- cgit From 748eea887135ac44f5c4b0a7499225d4cb2cbefe Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 3 Oct 2008 14:15:49 +0200 Subject: Adjust expected foreach ordering in global_end.exp due to commit e91b23bc. --- testsuite/ChangeLog | 4 ++++ testsuite/systemtap.base/global_end.exp | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 4825cd27..041df499 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-10-03 Mark Wielaard + + * systemtap.base/global_end.exp: Adjust expected foreach ordering. + 2008-10-01 Mark Wielaard * semok/thirtythree.stp: Use page->mapping instead of page->inuse diff --git a/testsuite/systemtap.base/global_end.exp b/testsuite/systemtap.base/global_end.exp index cd5c6f83..b6b9fd30 100644 --- a/testsuite/systemtap.base/global_end.exp +++ b/testsuite/systemtap.base/global_end.exp @@ -9,13 +9,13 @@ set ok 0 expect { -timeout 180 -re {one,0x1.*one,0x2.*two,0x1.*two,0x2} { incr ok; exp_continue } - -re {alpha."one".1.=0x1} { incr ok; exp_continue } - -re {alpha."one".2.=0x2} { incr ok; exp_continue } - -re {alpha."two".1.=0x3} { incr ok; exp_continue } -re {alpha."two".2.=0x4} { incr ok; exp_continue } + -re {alpha."two".1.=0x3} { incr ok; exp_continue } + -re {alpha."one".2.=0x2} { incr ok; exp_continue } + -re {alpha."one".1.=0x1} { incr ok; exp_continue } -re {gamma="abcdefghijklmnopqrstuvwxyz"} { incr ok; exp_continue } - -re {iota."one".="eleven"} { incr ok; exp_continue } -re {iota."two".="twelve"} { incr ok; exp_continue } + -re {iota."one".="eleven"} { incr ok; exp_continue } -re {epsilon."one",1. @count=0x4 @min=0x1 @max=0x4 @sum=0xa @avg=0x2} { incr ok; exp_continue } -re {epsilon."two",2. @count=0x4 @min=0xa @max=0x28 @sum=0x64 @avg=0x19} { incr ok; exp_continue } -re {phi @count=0x4 @min=0x1 @max=0x4 @sum=0xa @avg=0x2} { incr ok; exp_continue } -- cgit