Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
07907fa3
Commit
07907fa3
authored
May 02, 2011
by
Mark Andrews
Browse files
handle end of day
parent
23b45d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/autosign/tests.sh
View file @
07907fa3
...
...
@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.2
3
2011/05/0
1 21:36:33
marka Exp $
# $Id: tests.sh,v 1.2
4
2011/05/0
2 01:35:04
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -896,10 +896,10 @@ check_interval () {
sed
's/\.//g'
|
awk
-F
:
'
{
if ($6 == 0)
$6 = 25;
x = ($6+ $5*60000 + $4*3600000) - ($3+ $2*60000 + $1*3600000);
x = x/1000;
if (x < 0)
x = x + 24*3600;
if (x != int(x))
x = int(x + 1);
if (x > interval)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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