X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/45d58479b6cdbacce6cb823355f91d953d5aef9a..625cd9501315e1010ecbf8718c88c8b79ce09e94:/test/runtest 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