X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/db7b2b67dd6c39491fb19c96a9ed95f14fb38e43..e8a6b340d5bff376cf78adeef41d17bbfec3d103:/test/runtest diff --git a/test/runtest b/test/runtest index 1f3da963f..19169e89d 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 down to nearest even value - my($increment) = ((date_seconds($date3) - date_seconds($date2)) >> 1) << 1; + # Round the time-difference up to nearest even value + my($increment) = ((date_seconds($date3) - date_seconds($date2) + 1) >> 1) << 1; # We used to use globally unique replacement values, but timing # differences make this impossible. Just show the increment on the