]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make a explict edns query so this subtest is independent of other tests
authorMark Andrews <marka@isc.org>
Thu, 29 May 2014 00:45:52 +0000 (10:45 +1000)
committerMark Andrews <marka@isc.org>
Thu, 29 May 2014 00:46:34 +0000 (10:46 +1000)
bin/tests/system/resolver/tests.sh

index 324119b142655b481675a3e29a8e137989bcca89..f697adf3736f6794e4994e326b17e9eeae72462c 100755 (executable)
@@ -478,13 +478,13 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo "I:check that E was logged on EDNS queries in the query log (${n})"
 ret=0
-grep "query: fetchall.tld IN ANY +E" ns5/named.run > /dev/null || ret=1
+$DIG @10.53.0.5 -p 5300 +edns edns.fetchall.tld any > dig.out.2.${n} || ret=1
+grep "query: edns.fetchall.tld IN ANY +E" ns5/named.run > /dev/null || ret=1
 $DIG @10.53.0.5 -p 5300 +noedns noedns.fetchall.tld any > dig.out.2.${n} || ret=1
 grep "query: noedns.fetchall.tld IN ANY" ns5/named.run > /dev/null || ret=1
 grep "query: noedns.fetchall.tld IN ANY +E" ns5/named.run > /dev/null && ret=1
 if [ $ret != 0 ]; then echo "I:failed"; fi
 status=`expr $status + $ret`
 
-
 echo "I:exit status: $status"
 exit $status