Commit c6ac1b09 authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch '812-cookie-test-failed' into 'master'

Resolve "cookie test failed."

Closes #812

See merge request !1300
parents 10d8f319 8a8d378d
Pipeline #8552 passed with stages
in 9 minutes and 8 seconds
......@@ -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`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment