summaryrefslogtreecommitdiff
path: root/testcode/testbound.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-12-08 21:23:03 +0000
committerCy Schubert <cy@FreeBSD.org>2020-12-08 21:23:03 +0000
commitc1dbcbf2d10cd99864ab0eb44358d9875ba0c0a5 (patch)
tree8cbca8d9dc814933d2bc59b6623b792b549aac6b /testcode/testbound.c
parent4cb89f2eee3bb358f0491932ab0498b5319f4229 (diff)
Notes
Diffstat (limited to 'testcode/testbound.c')
-rw-r--r--testcode/testbound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcode/testbound.c b/testcode/testbound.c
index 602dffaff14a..3f3e106b039c 100644
--- a/testcode/testbound.c
+++ b/testcode/testbound.c
@@ -362,6 +362,10 @@ main(int argc, char* argv[])
/* we do not want the test to depend on the timezone */
(void)putenv("TZ=UTC");
memset(pass_argv, 0, sizeof(pass_argv));
+#ifdef HAVE_SYSTEMD
+ /* we do not want the test to use systemd daemon startup notification*/
+ (void)unsetenv("NOTIFY_SOCKET");
+#endif /* HAVE_SYSTEMD */
log_init(NULL, 0, NULL);
/* determine commandline options for the daemon */