summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-10-08 10:24:59 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-10-08 10:31:04 +0100
commit625cd9501315e1010ecbf8718c88c8b79ce09e94 (patch)
tree1f77635ba87359ced97a50e688cfa8439c30271e /test/runtest
parent45d58479b6cdbacce6cb823355f91d953d5aef9a (diff)
Testsuite: allow 1s timing slop in dumpdb output
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest
index 59184786b..8a1e46edd 100755
--- a/test/runtest
+++ b/test/runtest
@@ -461,8 +461,8 @@ RESET_AFTER_EXTRA_LINE_READ:
my($date1,$date2,$date3,$expired) = ($1,$2,$3,$4);
$expired = '' if !defined $expired;
- # Round the time-difference up to nearest even value
- my($increment) = ((date_seconds($date3) - date_seconds($date2) + 1) >> 1) << 1;
+ # Round the time-difference down to nearest even value
+ my($increment) = ((date_seconds($date3) - date_seconds($date2)) >> 1) << 1;
# We used to use globally unique replacement values, but timing
# differences make this impossible. Just show the increment on the