]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't restart ns5 after killing it
authorMark Andrews <marka@isc.org>
Thu, 7 Jun 2012 04:37:58 +0000 (14:37 +1000)
committerMark Andrews <marka@isc.org>
Thu, 7 Jun 2012 04:37:58 +0000 (14:37 +1000)
bin/tests/system/rpz/tests.sh

index 0e312c0b321c62c69b8a83a6cebacc864c40b36a..a669ed4c7b58aebd27b27698ab2f3035b137088d 100644 (file)
@@ -416,8 +416,7 @@ if test -n "$QPERF"; then
     # server really stops and deletes named.pid.
     echo "# rpz off" >ns5/rpz-switch
     PID=`cat ns5/named.pid`
-    test -z "$PID" || kill -9 "$PID"
-    $PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns5
+    test -z "$PID" || kill -9 "$PID" && rm -f ns5/named.pid
 
     NORPZ=`trim norpz`
     RPZ=`trim rpz`