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
76a26842
Commit
76a26842
authored
Dec 12, 2016
by
Evan Hunt
Browse files
[master] tweak logfileconfig test so it can pass on slower machines
parent
043ae106
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/logfileconfig/tests.sh
View file @
76a26842
...
...
@@ -309,9 +309,9 @@ $myRNDC reconfig > rndc.out.test$n 2>&1
$DIG
version.bind txt ch @10.53.0.1
-p
5300
>
dig.out.test
$n
t2
=
`
$PERL
-e
'print time()."\n";'
`
t
=
`
expr
${
t2
:-
0
}
-
${
t1
:-
0
}
`
if
test
${
t
:-
1000
}
-gt
1
if
test
${
t
:-
1000
}
-gt
5
then
echo
"I: testing explict versions failed cleanup of old entries took too long"
echo
"I: testing explict versions failed cleanup of old entries took too long
(
$t
secs)
"
status
=
`
expr
$status
+ 1
`
fi
if
!
grep
"status: NOERROR"
dig.out.test
$n
>
/dev/null
...
...
@@ -345,9 +345,9 @@ $myRNDC reconfig > rndc.out.test$n 2>&1
$DIG
version.bind txt ch @10.53.0.1
-p
5300
>
dig.out.test
$n
t2
=
`
$PERL
-e
'print time()."\n";'
`
t
=
`
expr
${
t2
:-
0
}
-
${
t1
:-
0
}
`
if
test
${
t
:-
1000
}
-gt
1
if
test
${
t
:-
1000
}
-gt
5
then
echo
"I: testing unlimited versions failed took too long"
echo
"I: testing unlimited versions failed took too long
(
$t
secs)
"
status
=
`
expr
$status
+ 1
`
fi
if
!
grep
"status: NOERROR"
dig.out.test
$n
>
/dev/null
...
...
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