From: Ondřej Surý Date: Mon, 28 Oct 2019 22:53:37 +0000 (-0500) Subject: Adjust synthfromdnssec system test to the changed defaults X-Git-Tag: v9.15.6~49^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800d7843af8ee7dc0a5c4ac729762458ed310eb5;p=thirdparty%2Fbind9.git Adjust synthfromdnssec system test to the changed defaults --- diff --git a/bin/tests/system/synthfromdnssec/tests.sh b/bin/tests/system/synthfromdnssec/tests.sh index 1fa233f1481..1d18d612e7f 100644 --- a/bin/tests/system/synthfromdnssec/tests.sh +++ b/bin/tests/system/synthfromdnssec/tests.sh @@ -93,7 +93,7 @@ sleep 1 for ns in 2 4 5 do case $ns in - 2) synth=yes description="";; + 2) synth=no description="";; 4) synth=no description="no";; 5) synth=yes description="yes";; *) exit 1;; @@ -171,7 +171,7 @@ ret=0 dig_with_opts b.redirect. @10.53.0.3 a > dig.out.ns2.test$n || ret=1 grep "flags:[^;]* ad[ ;]" dig.out.ns2.test$n > /dev/null || ret=1 grep "status: NXDOMAIN," dig.out.ns2.test$n > /dev/null || ret=1 -grep "\..*3600.IN.SOA" dig.out.ns2.test$n > /dev/null && ret=1 +grep "\..*3600.IN.SOA" dig.out.ns2.test$n > /dev/null || ret=1 n=$((n+1)) if [ $ret != 0 ]; then echo_i "failed"; fi status=$((status+ret))