]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
missed one in the digdelv test
authorCurtis Blackburn <ckb@isc.org>
Fri, 14 Dec 2018 00:52:04 +0000 (16:52 -0800)
committerEvan Hunt <each@isc.org>
Sat, 15 Dec 2018 02:22:58 +0000 (18:22 -0800)
bin/tests/system/digdelv/tests.sh

index b7a7164826c8c5cbb561134c506d4e1927df1ccb..fcc7b574c958273fbcdce63e6b450515fde3bc1f 100644 (file)
@@ -520,7 +520,7 @@ if [ -x "$DIG" ] ; then
   echo_i "check that dig -q -m works ($n)"
   ret=0
   dig_with_opts @10.53.0.3 -q -m > dig.out.test$n 2>&1
-  grep '^;-m\..*IN.*A$' dig.out.test$n > /dev/null || ret=1
+  tr -d '\r' < dig.out.test$n | grep '^;-m\..*IN.*A$' > /dev/null || ret=1
   grep "Dump of all outstanding memory allocations" dig.out.test$n > /dev/null && ret=1
   if [ $ret -ne 0 ]; then echo_i "failed"; fi
   status=$((status+ret))