bind9/bin/tests
Michał Kępień 537765df80 Make stop.pl wait for lock file cleanup
bin/tests/system/stop.pl only waits for the PID file to be cleaned up
while named cleans up the lock file after the PID file.  Thus, the
aforementioned script may consider a named instance to be fully shut
down when in fact it is not.

Fix by also checking whether the lock file exists when determining a
given instance's shutdown status.  This change assumes that if a named
instance uses a lock file, it is called "named.lock", and that if an
lwresd instance uses a lock file, it is called "lwresd.lock".

Also rename clean_pid_file() to pid_file_exists(), so that it is called
more appropriately (it does not clean up the PID file itself, it only
returns the server's identifier if its PID file is not yet cleaned up).

(cherry picked from commit c787a539d2)
2019-03-19 11:03:46 +01:00
..
bigtest update file headers 2018-03-15 18:38:48 -07:00
optional Update lwres to use stdint types to finish transition to using stdint types 2018-08-22 09:04:02 +02:00
pkcs11 Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
system Make stop.pl wait for lock file cleanup 2019-03-19 11:03:46 +01:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 15:29:59 -08:00
virtual-time Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
win32 4585. [port] win32: Set CompileAS value. [RT #42474] 2017-04-20 12:42:39 +10:00
.gitignore migrate t_dst signature test to lib/dns/tests/dst_test 2018-03-09 15:46:53 -08:00
cfg_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
fromhex.pl update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
Makefile.in Alter distclean rule to prevent recursing into the same directory twice 2018-04-10 20:04:40 -07:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
named.conf update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00