]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The "resolver" test was failing on systems with old versions of "grep".
authorEvan Hunt <each@isc.org>
Wed, 15 Sep 2010 16:08:58 +0000 (16:08 +0000)
committerEvan Hunt <each@isc.org>
Wed, 15 Sep 2010 16:08:58 +0000 (16:08 +0000)
bin/tests/system/resolver/tests.sh

index 087483ff27beaa4d21a694181ae7c528069bcb79..6fe7e9e4049b08ae308d60a0d18598403230f0d0 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.1 2010/09/15 12:13:29 marka Exp $
+# $Id: tests.sh,v 1.11.142.2.18.2 2010/09/15 16:08:58 each 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 'flags:\( \(qr\|rd\|ra\|cd\|ad\)\)* *;' dig.ns4.out.${n} > /dev/null || ret=1
+grep -E 'flags:( (qr|rd|ra|cd|ad))* *;' dig.ns4.out.${n} > /dev/null || ret=1
 if [ $ret != 0 ]; then echo "I:failed"; fi
 status=`expr $status + $ret`