2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion' into 'master'

Resolve "views system test has wrong test strings for reload completion."

Closes #121

See merge request isc-projects/bind9!88
This commit is contained in:
Michał Kępień
2018-02-28 08:54:38 -05:00

View File

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