summaryrefslogtreecommitdiff
path: root/t/op/time.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/time.t')
-rwxr-xr-xt/op/time.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/time.t b/t/op/time.t
index 347592dab4..6d23832dfa 100755
--- a/t/op/time.t
+++ b/t/op/time.t
@@ -8,7 +8,7 @@ print "1..5\n";
$beg = time;
-while (($now = time) == $beg) {}
+while (($now = time) == $beg) { sleep 1 }
if ($now > $beg && $now - $beg < 10){print "ok 1\n";} else {print "not ok 1\n";}