summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/optim.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/optim.exp')
-rw-r--r--testsuite/systemtap.base/optim.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/optim.exp b/testsuite/systemtap.base/optim.exp
index 23735af6..a2bfd3ab 100644
--- a/testsuite/systemtap.base/optim.exp
+++ b/testsuite/systemtap.base/optim.exp
@@ -5,9 +5,10 @@ set ok 0
expect {
-timeout 120
-re {i=1} { incr ok }
+ -re {j=2} { incr ok }
timeout { fail "$test (timeout)" }
eof { }
}
close
wait
-if {$ok == 1} { pass $test } { fail $test }
+if {$ok == 2} { pass $test } { fail $test }