git: 3fb2371efd13 - main - syslogd tests: Use atf_check when sending SIGHUP to syslogd

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 03 Jan 2025 01:53:15 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3fb2371efd13f1067221c5fc1bae8903f358ae3e

commit 3fb2371efd13f1067221c5fc1bae8903f358ae3e
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-03 01:50:39 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-03 01:50:39 +0000

    syslogd tests: Use atf_check when sending SIGHUP to syslogd
---
 usr.sbin/syslogd/tests/syslogd_test_common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/syslogd/tests/syslogd_test_common.sh b/usr.sbin/syslogd/tests/syslogd_test_common.sh
index a764ebfb0e24..f37846af0430 100644
--- a/usr.sbin/syslogd/tests/syslogd_test_common.sh
+++ b/usr.sbin/syslogd/tests/syslogd_test_common.sh
@@ -99,7 +99,7 @@ syslogd_log()
 # Make syslogd reload its configuration file.
 syslogd_reload()
 {
-    pkill -HUP -F "${1:-${SYSLOGD_PIDFILE}}"
+    atf_check pkill -HUP -F "${1:-${SYSLOGD_PIDFILE}}"
 }
 
 # Stop a private syslogd instance.