]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indica...
authorMark Andrews <marka@isc.org>
Wed, 28 Feb 2018 06:14:30 +0000 (17:14 +1100)
committerMark Andrews <marka@isc.org>
Wed, 28 Feb 2018 06:14:30 +0000 (17:14 +1100)
bin/tests/system/views/tests.sh

index d94cf30696f8ba7648a28a82b92a4829cd93a192..537928fc81a2077c053e179a453e2d377436afe3 100644 (file)
@@ -39,8 +39,8 @@ $RNDCCMD 10.53.0.3 reload 2>&1 | sed 's/^/ns3 /' | cat_i
 echo_i "wait for reload"
 a=0 b=0
 for i in 1 2 3 4 5 6 7 8 9 0; do
-        nextpart ns2/named.run | grep "reloading zones succeeded" > /dev/null && a=1
-        nextpart ns3/named.run | grep "reloading zones succeeded" > /dev/null && b=1
+        nextpart ns2/named.run | grep "all zones loaded" > /dev/null && a=1
+        nextpart ns3/named.run | grep "all zones loaded" > /dev/null && b=1
         [ $a -eq 1 -a $b -eq 1 ] && break
         sleep 1
 done