]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
minor fixes to dns64 and rndc CRLF fix. rpzrecurse failure will be addressed in a...
authorCurtis Blackburn <ckb@isc.org>
Fri, 14 Dec 2018 04:20:02 +0000 (20:20 -0800)
committerEvan Hunt <each@isc.org>
Sat, 15 Dec 2018 03:45:42 +0000 (19:45 -0800)
bin/tests/system/dns64/tests.sh
bin/tests/system/rndc/tests.sh

index cb37ddae36f054b7dd184ccaf27450460e49dd51..86ab4a4463ce3c2b6a1a8dd7a169fa0d48c282b2 100644 (file)
@@ -1278,7 +1278,7 @@ status=`expr $status + $ret`
 echo_i "checking reverse mapping ($n)"
 ret=0
 $DIG $DIGOPTS -x 2001:aaaa::10.0.0.1 @10.53.0.2 > dig.out.ns2.test$n || ret=1
-tr -d '\r' < dig.out.ns2$n | grep -i "CNAME.1.0.0.10.IN-ADDR.ARPA.$" > /dev/null || ret=1
+tr -d '\r' < dig.out.ns2.test$n | grep -i "CNAME.1.0.0.10.IN-ADDR.ARPA.$" > /dev/null || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
index 647730e0be24f062bee290d7eabdfd4f879290c4..90ee8876c21b4db01197a17afff121c5f254d1fa 100644 (file)
@@ -229,7 +229,7 @@ do
 done
 serial=`awk '$3 == "serial" {print $1}' ns2/other.db`
 newserial=`expr $serial + 1`
-sed s/$serial/$newserial/ ns2/other.db > ns2/other.db.new
+sed "s/$serial/$newserial/" ns2/other.db > ns2/other.db.new
 echo 'frozen TXT "frozen addition"' >> ns2/other.db.new
 mv -f ns2/other.db.new ns2/other.db
 $RNDCCMD 10.53.0.2 thaw 2>&1 | sed 's/^/ns2 /' | cat_i
@@ -272,7 +272,7 @@ do
 done
 serial=`awk '$3 == "serial" {print $1}' ns2/nil.db`
 newserial=`expr $serial + 1`
-sed s/$serial/$newserial/ ns2/nil.db > ns2/nil.db.new
+sed "s/$serial/$newserial/" ns2/nil.db > ns2/nil.db.new
 echo 'frozen TXT "frozen addition"' >> ns2/nil.db.new
 mv -f ns2/nil.db.new ns2/nil.db
 $RNDCCMD 10.53.0.2 thaw 2>&1 | sed 's/^/ns2 /' | cat_i