mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-25 11:14:58 +02:00
- Fix #323: unbound testsuite fails on mock build in systemd-nspawn
if systemd support is build.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user