mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.18] chg: test: resolver system test didn't fail on all subtest errors
Closes #4774 Backport of MR !9105 Merge branch 'backport-4774-resolver-system-test-didn-t-fail-on-all-subtest-errors-9.18' into 'bind-9.18' See merge request isc-projects/bind9!9212
This commit is contained in:
commit
e7b9fc6d11
1 changed files with 1 additions and 1 deletions
|
|
@ -1060,6 +1060,7 @@ grep "ANSWER: [12]," dig.out.2.${n} >/dev/null || ret=1
|
|||
lines=$(awk '$1 == "mixedttl.tld." && $2 > 30 { print }' dig.out.2.${n} | wc -l)
|
||||
test ${lines:-1} -ne 0 && ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
||||
n=$((n + 1))
|
||||
echo_i "check resolver behavior when FORMERR for EDNS options happens (${n})"
|
||||
|
|
@ -1071,7 +1072,6 @@ dig_with_opts +tcp @10.53.0.5 options-formerr A >dig.out.${n} || ret=1
|
|||
grep "status: NOERROR" dig.out.${n} >/dev/null || ret=1
|
||||
nextpart ns5/named.run | grep "$msg" >/dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
|
||||
status=$((status + ret))
|
||||
|
||||
echo_i "exit status: $status"
|
||||
|
|
|
|||
Loading…
Reference in a new issue