From: Mark Andrews Date: Fri, 27 Jun 2014 05:50:51 +0000 (+1000) Subject: make test for nsec3param more robust X-Git-Tag: v9.11.0a1~1488 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62275d53063472f531210e8a2500350d89e699b4;p=thirdparty%2Fbind9.git make test for nsec3param more robust --- diff --git a/bin/tests/system/inline/tests.sh b/bin/tests/system/inline/tests.sh index 330cf147f00..f0c96ac9559 100755 --- a/bin/tests/system/inline/tests.sh +++ b/bin/tests/system/inline/tests.sh @@ -29,7 +29,7 @@ $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 signing -nsec3param 1 0 0 - ns for i in 1 2 3 4 5 6 7 8 9 0 do nsec3param=`$DIG +short @10.53.0.3 -p 5300 nsec3param nsec3.` - test -n "$nsec3param" && break + test "$nsec3param" = "1 0 0 -" && break sleep 1 done @@ -44,7 +44,7 @@ done for i in 1 2 3 4 5 6 7 8 9 0 do nsec3param=`$DIG +short @10.53.0.3 -p 5300 nsec3param retransfer3.` - test -n "$nsec3param" && break + test "$nsec3param" = "1 0 0 -" && break sleep 1 done