Merge branch '136-tweak-timestamp-checking-in-the-cds-system-test' into 'master'
Tweak timestamp checking in the cds system test Closes #136 See merge request isc-projects/bind9!114
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
4912. [test] Improved the reliability of the 'cds' system test.
|
||||
[GL #136]
|
||||
|
||||
4911. [test] Improved the reliability of the 'mkeys' system test.
|
||||
[GL #128]
|
||||
|
||||
|
||||
@@ -13,4 +13,4 @@ my $target = shift;
|
||||
my $file = shift;
|
||||
my $mtime = time - (stat $file)[9];
|
||||
die "bad mtime $mtime"
|
||||
unless abs($mtime - $target) < 10;
|
||||
unless ($mtime - $target >= 0 && $mtime - $target < 60);
|
||||
|
||||
Reference in New Issue
Block a user