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
6fe5cc5a
Commit
6fe5cc5a
authored
Dec 09, 2015
by
Curtis Blackburn
Browse files
[rt41263] add a system test for dig +qr +ednsopt<invalid>
parent
2a374700
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/digdelv/tests.sh
View file @
6fe5cc5a
...
...
@@ -144,6 +144,15 @@ if [ -x ${DIG} ] ; then
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
n
=
`
expr
$n
+ 1
`
echo
"I:checking dig +qr +ednsopt=08 does not cause an INSIST failure (
$n
)"
ret
=
0
$DIG
$DIGOPTS
@10.53.0.3 +ednsopt
=
08 +qr a a.example
>
dig.out.test
$n
||
ret
=
1
grep
"INSIST"
< dig.out.test
$n
>
/dev/null
&&
ret
=
1
grep
"FORMERR"
< dig.out.test
$n
>
/dev/null
||
ret
=
1
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
else
echo
"
$DIG
is needed, so skipping these dig tests"
fi
...
...
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