Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2025 01:53:15 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3fb2371efd13 - main - syslogd tests: Use atf_check when sending SIGHUP to syslogd
Message-ID:  <202501030153.5031rFBv008619@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501030153.5031rFBv008619>