mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:40:00 -04:00
fix: test: Fix check_pid() in runtime system test on FreeBSD
The original check_pid() always returned 0 on FreeBSD, even if the process was still running. This makes the "verifying that named checks for conflicting named processes" check fail on FreeBSD with TSAN. Merge branch 'mnowak/fix-runtime-pid-check' into 'main' See merge request isc-projects/bind9!10373
This commit is contained in:
commit
b3ee5dc8f7
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ run_named() (
|
|||
)
|
||||
|
||||
check_pid() (
|
||||
return $(! kill -0 "${1}" >/dev/null 2>&1)
|
||||
! kill -0 "${1}" >/dev/null 2>&1
|
||||
)
|
||||
|
||||
status=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue