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
44ef2206
Commit
44ef2206
authored
Oct 16, 2014
by
Mark Andrews
Browse files
allow for the set of ttls to be empty
parent
d9aaf7ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dnssec/tests.sh
View file @
44ef2206
...
...
@@ -2359,7 +2359,7 @@ $DIG +noall +additional +dnssec +cd -p 5300 expiring.example mx @10.53.0.4 > dig
$DIG
+noall +additional +dnssec
-p
5300 expiring.example mx @10.53.0.4
>
dig.out.ns4.2.
$n
ttls
=
`
awk
'$1 != ";;" {print $2}'
dig.out.ns4.1.
$n
`
ttls2
=
`
awk
'$1 != ";;" {print $2}'
dig.out.ns4.2.
$n
`
for
ttl
in
${
ttls
:-
0
}
;
do
for
ttl
in
${
ttls
:-
30
0
}
;
do
[
${
ttl
:-
0
}
-eq
300
]
||
ret
=
1
done
for
ttl
in
${
ttls2
:-
0
}
;
do
...
...
@@ -2413,7 +2413,7 @@ $DIG +noall +additional +dnssec +cd -p 5300 expiring.example mx @10.53.0.4 > dig
$DIG
+noall +additional +dnssec
-p
5300 expiring.example mx @10.53.0.4
>
dig.out.ns4.2.
$n
ttls
=
`
awk
'$1 != ";;" {print $2}'
dig.out.ns4.1.
$n
`
ttls2
=
`
awk
'$1 != ";;" {print $2}'
dig.out.ns4.2.
$n
`
for
ttl
in
${
ttls
:-
0
}
;
do
for
ttl
in
${
ttls
:-
30
0
}
;
do
[
$ttl
-eq
300
]
||
ret
=
1
done
for
ttl
in
${
ttls2
:-
0
}
;
do
...
...
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