]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
don't wipe out named.run when restarting
authorMark Andrews <marka@isc.org>
Fri, 14 Dec 2012 06:39:22 +0000 (17:39 +1100)
committerMark Andrews <marka@isc.org>
Fri, 14 Dec 2012 06:39:22 +0000 (17:39 +1100)
bin/tests/system/nsupdate/tests.sh

index 77caccf63313015435ecc60a5dc8dd0a33ecabe8..e34885a9c1e36765a10da04f03ae9046e2c29199 100644 (file)
@@ -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