mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 16:18:03 -04:00
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:
commit
58be47e3e1
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue