Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
2e0d8d74
Commit
2e0d8d74
authored
Mar 04, 2015
by
Mark Andrews
Browse files
handle daylight savings changes
parent
d869bc76
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dnssec/tests.sh
View file @
2e0d8d74
...
...
@@ -2049,8 +2049,8 @@ then
d
=
`
$PERL
./ntadiff.pl
"
$ts_with_zone
"
"
$added
"
`
echo
"d=
$d
"
>>
rndc.out.ns4.test
$n
.2
# diff from $added(now) + 1week to the clamped NTA lifetime should be
# less than a few seconds.
[
$d
-lt
10
]
||
ret
=
1
# less than a few seconds
(handle daylight saving changes by adding 3600)
.
[
$d
-lt
36
10
]
||
ret
=
1
else
echo
"I: skipped ntadiff test; install PERL module Time::Piece"
fi
...
...
@@ -2075,6 +2075,7 @@ else
echo
"I:The DNSSEC update test requires the Net::DNS library."
>
&2
fi
n
=
`
expr
$n
+ 1
`
echo
"I:checking managed key maintenance has not started yet (
$n
)"
ret
=
0
[
-f
"ns4/managed-keys.bind.jnl"
]
&&
ret
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment