Use rndc_reload in tests, make sure that reload is complete before continuing
This commit is contained in:
@@ -93,7 +93,7 @@ addr=`eval echo "$out" | cut -f1 -d'#'`
|
||||
status=`expr $status + $ret`
|
||||
|
||||
newtest "testing DLZ driver is cleaned up on reload"
|
||||
$RNDCCMD 10.53.0.1 reload 2>&1 | sed 's/^/ns1 /' | cat_i
|
||||
rndc_reload ns1 10.53.0.1
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ret=0
|
||||
grep 'dlz_example: shutting down zone example.nil' ns1/named.run > /dev/null 2>&1 || ret=1
|
||||
|
||||
Reference in New Issue
Block a user