]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
simplify grep
authorMark Andrews <marka@isc.org>
Wed, 15 Sep 2010 23:24:03 +0000 (23:24 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Sep 2010 23:24:03 +0000 (23:24 +0000)
bin/tests/system/resolver/tests.sh

index 6fe7e9e4049b08ae308d60a0d18598403230f0d0..bcd8080e2fb6deb988094d1213c4b658a75b40b1 100644 (file)
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.11.142.2.18.2 2010/09/15 16:08:58 each Exp $
+# $Id: tests.sh,v 1.11.142.2.18.3 2010/09/15 23:24:03 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -125,7 +125,7 @@ echo "I: RT21594 regression test check setup ($n)"
 ret=0
 # Check that "aa" is not being set by the authoritative server.
 $DIG +tcp . @10.53.0.4 soa -p 5300 > dig.ns4.out.${n} || ret=1
-grep -E 'flags:( (qr|rd|ra|cd|ad))* *;' dig.ns4.out.${n} > /dev/null || ret=1
+grep 'flags: qr rd;' dig.ns4.out.${n} > /dev/null || ret=1
 if [ $ret != 0 ]; then echo "I:failed"; fi
 status=`expr $status + $ret`