summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog7
-rw-r--r--testsuite/systemtap.base/global_end.exp8
2 files changed, 13 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 2ec0fb0e..6ded1137 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,4 +1,9 @@
-2008-10-20 Elliott Baron <ebaron@redhat.com>
+2008-10-25 Rajan Arora <rarora@redhat.com>
+
+ * systemtap.base/global_end.exp: Spawn test again
+ in guru mode.
+
+2008-10-20 Elliott Baron <ebaron@redhat.com>
PR6851
* systemtap.printf/char1.exp: New test.
diff --git a/testsuite/systemtap.base/global_end.exp b/testsuite/systemtap.base/global_end.exp
index b6b9fd30..9935629e 100644
--- a/testsuite/systemtap.base/global_end.exp
+++ b/testsuite/systemtap.base/global_end.exp
@@ -23,4 +23,10 @@ expect {
eof { }
}
wait
-if {$ok == 11} { pass "$test ($ok)" } { fail "$test ($ok)" }
+spawn stap -g $srcdir/$subdir/global_end.stp
+# above should not do any global variable display so `ok' should only change by one
+expect {
+ -timeout 180
+ -re {one,0x1.*one,0x2.*two,0x1.*two,0x2} { incr ok; exp_continue }
+}
+if {$ok == 12} { pass "$test ($ok)" } { fail "$test ($ok)" }