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
7ba88e2a
Commit
7ba88e2a
authored
Feb 16, 2014
by
Evan Hunt
Browse files
[master] fix dnssec test errors
parent
72fd845d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dnssec/tests.sh
View file @
7ba88e2a
...
...
@@ -822,7 +822,7 @@ if [ -x ${RESOLVE} ] ; then
ret
=
0
echo
"I:checking failed validation using dns_client (
$n
)"
$RESOLVE
$RESKEY
-p
5300
-t
a
-s
10.53.0.4 a.bogus.example
>
/dev/null 2> resolve.out
$n
||
ret
=
1
grep
"resolution failed:
no valid RRSIG
"
resolve.out
$n
>
/dev/null
||
ret
=
1
grep
"resolution failed:
RRSIG failed to verify
"
resolve.out
$n
>
/dev/null
||
ret
=
1
n
=
`
expr
$n
+ 1
`
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
...
...
@@ -1730,7 +1730,7 @@ ret=0
$DIG
$DIGOPTS
+noauth expired.example. +dnssec @10.53.0.4 soa
>
dig.out.ns4.test
$n
||
ret
=
1
grep
"SERVFAIL"
dig.out.ns4.test
$n
>
/dev/null
||
ret
=
1
grep
"flags:.*ad.*QUERY"
dig.out.ns4.test
$n
>
/dev/null
&&
ret
=
1
grep
"expired.example
.*: RRSIG has expired"
ns4/named.run
>
/dev/null
||
ret
=
1
grep
"expired.example
/
.*: RRSIG has expired"
ns4/named.run
>
/dev/null
||
ret
=
1
n
=
`
expr
$n
+ 1
`
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
...
...
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