Use rndc_reload in tests, make sure that reload is complete before continuing

This commit is contained in:
Witold Kręcicki
2018-12-11 12:59:11 +01:00
parent 517449e0e6
commit 6d50138405
32 changed files with 102 additions and 101 deletions

View File

@@ -378,7 +378,7 @@ if [ ! "$CYGWIN" ]; then
$KILL -HUP `cat ns2/named.pid`
else
echo_i "reload slave"
$RNDCCMD 10.53.0.2 reload > /dev/null 2>&1
rndc_reload ns2 10.53.0.2
fi
sleep 5
@@ -401,7 +401,7 @@ if [ ! "$CYGWIN" ]; then
$KILL -HUP `cat ns2/named.pid`
else
echo_i "reload slave again"
$RNDCCMD 10.53.0.2 reload > /dev/null 2>&1
rndc_reload ns2 10.53.0.2
fi
sleep 5