]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix server shutdown in bin/tests/system/run.sh
authorMichał Kępień <michal@isc.org>
Tue, 5 May 2020 11:49:43 +0000 (13:49 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 5 May 2020 11:49:43 +0000 (13:49 +0200)
a4f0281962c8d8f80f6efc04cad550146eec8463 is a flawed backport of
cf5105939c1c1802e69cc63a39e9d71b6e5f67e1 - it retained the original
invocation of bin/tests/system/stop.pl in bin/tests/system/run.sh.  This
results in the former script being called twice for each system test,
which does not cause problems on Unix systems, but triggers false
positives about named instances dying prematurely on Windows.  Fix by
removing the offending invocation of bin/tests/system/stop.pl from
bin/tests/system/run.sh.

bin/tests/system/run.sh

index 0559d3b60bf7d7e2d616159390d86d158dbc171a..a2bcaff5677873b99b7abe350ef94c93d274909a 100755 (executable)
@@ -253,11 +253,6 @@ else
     exit $status
 fi
 
-# Shutdown
-$PERL stop.pl $systest
-
-status=`expr $status + $?`
-
 if [ $status != 0 ]; then
     echofail "R:$systest:FAIL"
     # Do not clean up - we need the evidence.