]> 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)
committerMichał Kępień <michal@isc.org>
Wed, 28 Feb 2018 13:57:00 +0000 (14:57 +0100)
(cherry picked from commit 4cb0873a0a44f3b6b6c99e9de5aea10b60d7eb2c)

bin/tests/system/views/tests.sh

index fa93a765b91a79a399dffa9fa146e85a81d3f8ba..fee1b0e70285df4c1c56d0ef845c133b31adc353 100644 (file)
@@ -45,8 +45,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