mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-26 12:23:04 -04:00
Merge branch '812-cookie-test-failed' into 'master'
Resolve "cookie test failed." Closes #812 See merge request isc-projects/bind9!1300
This commit is contained in:
commit
c6ac1b092d
1 changed files with 6 additions and 2 deletions
|
|
@ -142,8 +142,12 @@ n=`expr $n + 1`
|
|||
echo_i "checking for COOKIE value in adb ($n)"
|
||||
ret=0
|
||||
$RNDCCMD 10.53.0.1 dumpdb
|
||||
sleep 1
|
||||
grep "10.53.0.2.*\[cookie=" ns1/named_dump.db > /dev/null|| ret=1
|
||||
for i in 1 2 3 4 5 6 7 8 9 10
|
||||
do
|
||||
sleep 1
|
||||
grep "10.53.0.2.*\[cookie=" ns1/named_dump.db > /dev/null && break
|
||||
done
|
||||
grep "10.53.0.2.*\[cookie=" ns1/named_dump.db > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue