summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog4
-rw-r--r--testsuite/systemtap.base/optim.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 2685e5b0..6b05d0e3 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -8,6 +8,10 @@
* systemtap.maps/linear_nearlyempty.*: New test for
histogram printing elision.
+2007-09-22 Frank Ch. Eigler <fche@elastic.org>
+
+ * systemtap.base/optim.exp: Wait for both result lines.
+
2007-09-21 Martin Hunt <hunt@redhat.com>
* systemtap.maps/linear*: Updated linear histogram tests.
diff --git a/testsuite/systemtap.base/optim.exp b/testsuite/systemtap.base/optim.exp
index a2bfd3ab..ddc1c90f 100644
--- a/testsuite/systemtap.base/optim.exp
+++ b/testsuite/systemtap.base/optim.exp
@@ -4,7 +4,7 @@ spawn stap $srcdir/$subdir/optim.stp
set ok 0
expect {
-timeout 120
- -re {i=1} { incr ok }
+ -re {i=1} { incr ok ; exp_continue }
-re {j=2} { incr ok }
timeout { fail "$test (timeout)" }
eof { }