From: Michał Kępień Date: Fri, 19 Apr 2019 09:21:43 +0000 (+0200) Subject: Do not wait for lock file cleanup on Windows X-Git-Tag: v9.15.0~37^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=761ba4514f7eceab8019d71dc9cabd269d274597;p=thirdparty%2Fbind9.git Do not wait for lock file cleanup on Windows As signals are currently not handled by named on Windows, instances terminated using signals are not able to perform a clean shutdown, which involves e.g. removing the lock file. Thus, waiting for a given instance's lock file to be removed beforing assuming it is shut down is pointless on Windows, so do not even attempt it. --- diff --git a/bin/tests/system/stop.pl b/bin/tests/system/stop.pl index 1045ee374fb..1a78ade59f4 100644 --- a/bin/tests/system/stop.pl +++ b/bin/tests/system/stop.pl @@ -131,6 +131,8 @@ exit($errors); sub server_lock_file { my ( $server ) = @_; + return if (defined($ENV{'CYGWIN'})); + return $testdir . "/" . $server . "/named.lock" if ($server =~ /^ns/); return if ($server =~ /^ans/);