summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/gtod.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.samples/gtod.exp')
-rw-r--r--testsuite/systemtap.samples/gtod.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.samples/gtod.exp b/testsuite/systemtap.samples/gtod.exp
index 97aaca83..a8f3c9d6 100644
--- a/testsuite/systemtap.samples/gtod.exp
+++ b/testsuite/systemtap.samples/gtod.exp
@@ -16,7 +16,7 @@ expect {
timeout { fail "$test (timeout)" }
eof { }
}
-closewait
+wait
#10ms interval (check timer drift in middle range)
spawn $srcdir/$subdir/gtod.sh $srcdir/$subdir/gtod.stp $wd/gtod 10000
expect {
@@ -25,7 +25,7 @@ expect {
timeout { fail "$test (timeout)" }
eof { }
}
-closewait
+wait
#100ms interval (calm down processors and CPU freq might be changed)
spawn $srcdir/$subdir/gtod.sh $srcdir/$subdir/gtod.stp $wd/gtod 100000
expect {
@@ -34,7 +34,7 @@ expect {
timeout { fail "$test (timeout)" }
eof { }
}
-closewait
+wait
exec rm -f $wd/gtod
if {$ok == 300} { pass "$test ($ok)" } { fail "$test ($ok)" }