]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjust synthfromdnssec system test to the changed defaults
authorOndřej Surý <ondrej@sury.org>
Mon, 28 Oct 2019 22:53:37 +0000 (17:53 -0500)
committerOndřej Surý <ondrej@sury.org>
Tue, 29 Oct 2019 09:10:12 +0000 (04:10 -0500)
bin/tests/system/synthfromdnssec/tests.sh

index 1fa233f148119b475c23b4cc30555dd9cafac5ea..1d18d612e7fcba33b693924df1d04457dda7028b 100644 (file)
@@ -93,7 +93,7 @@ sleep 1
 for ns in 2 4 5
 do
     case $ns in
-    2) synth=yes description="<default>";;
+    2) synth=no description="<default>";;
     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))