]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
qmin: fix 'query for .ugly fails when qname-minimization is in strict mode'; remove...
authorMark Andrews <marka@isc.org>
Wed, 19 Sep 2018 05:25:54 +0000 (15:25 +1000)
committerWitold Kręcicki <wpk@isc.org>
Tue, 23 Oct 2018 12:15:04 +0000 (12:15 +0000)
bin/tests/system/qmin/tests.sh

index 9c669d4358e2dfefd0b852c0f3ffa650795e6151..00383f51e42468b799e1c7a0ac73330c657ece44 100755 (executable)
@@ -192,7 +192,6 @@ cat << __EOF | diff ans2/query.log - > /dev/null || ret=1
 NS ugly.
 NS boing.ugly.
 NS boing.ugly.
-NS boing.ugly.
 __EOF
 for ans in ans2 ans3 ans4; do mv -f $ans/query.log query-$ans-$n.log 2>/dev/null || true; done
 if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -205,10 +204,10 @@ ret=0
 $CLEANQL
 $RNDCCMD 10.53.0.7 flush
 $DIG $DIGOPTS icky.icky.icky.ptang.zoop.boing.ugly. @10.53.0.7 > dig.out.test$n
-grep "status: NOERROR" dig.out.test$n > /dev/null || (ret=1; echo "A")
-grep "icky.icky.icky.ptang.zoop.boing.ugly. 1  IN A    192.0.2.1" dig.out.test$n > /dev/null || (ret=1; echo "X")
+grep "status: NOERROR" dig.out.test$n > /dev/null || ret=1
+grep "icky.icky.icky.ptang.zoop.boing.ugly. 1  IN A    192.0.2.1" dig.out.test$n > /dev/null || ret=1
 sleep 1
-cat << __EOF | diff ans2/query.log - > /dev/null || (ret=1; echo "Y")
+cat << __EOF | diff ans2/query.log - > /dev/null || ret=1
 NS ugly.
 NS boing.ugly.
 NS boing.ugly.