From: Mark Andrews Date: Fri, 14 Dec 2012 06:39:22 +0000 (+1100) Subject: don't wipe out named.run when restarting X-Git-Tag: v9.10.0a1~657 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6301757d64037b5a3684d7a765726f06f26712e5;p=thirdparty%2Fbind9.git don't wipe out named.run when restarting --- diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 77caccf6331..e34885a9c1e 100644 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -264,7 +264,7 @@ rm named.pid cd .. sleep 10 if - $PERL $SYSTEMTESTTOP/start.pl --noclean . ns1 + $PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns1 then echo "I:restarted server ns1" else @@ -416,7 +416,7 @@ $PERL $SYSTEMTESTTOP/stop.pl --use-rndc . ns1 # that the data served by the new server process are exactly # those dumped to the master file by "rndc stop". rm -f ns1/*jnl -$PERL $SYSTEMTESTTOP/start.pl --noclean . ns1 +$PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns1 $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd updated4.example.nil.\ @10.53.0.1 a -p 5300 > dig.out.ns1 || status=1 $PERL ../digcomp.pl knowngood.ns1.afterstop dig.out.ns1 || status=1