]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
more CRLF fixes (dns64)
authorCurtis Blackburn <ckb@isc.org>
Fri, 14 Dec 2018 01:08:57 +0000 (17:08 -0800)
committerEvan Hunt <each@isc.org>
Sat, 15 Dec 2018 03:45:38 +0000 (19:45 -0800)
bin/tests/system/dns64/tests.sh

index ce5287efc6c28c66a1c7891254c5e6587c173c69..cb37ddae36f054b7dd184ccaf27450460e49dd51 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
-grep -i "CNAME.1.0.0.10.IN-ADDR.ARPA.$" dig.out.ns2.test$n > /dev/null || ret=1
+tr -d '\r' < dig.out.ns2$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`