aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil-test/zenutil-test.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-02-27 02:16:10 +0000
committerLiam Mitchell <[email protected]>2025-02-27 02:16:10 +0000
commitc49b0a053c5e28de1afa83600ebffd383766e38a (patch)
tree3b9e7880e09ff816edd1fc9f996015ed9e6ee522 /src/zenutil-test/zenutil-test.cpp
parentLinux compilation fixes (diff)
downloadzen-c49b0a053c5e28de1afa83600ebffd383766e38a.tar.xz
zen-c49b0a053c5e28de1afa83600ebffd383766e38a.zip
Implementation of service commands for Linux.
Diffstat (limited to 'src/zenutil-test/zenutil-test.cpp')
-rw-r--r--src/zenutil-test/zenutil-test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenutil-test/zenutil-test.cpp b/src/zenutil-test/zenutil-test.cpp
index fadaf0995..a392ab058 100644
--- a/src/zenutil-test/zenutil-test.cpp
+++ b/src/zenutil-test/zenutil-test.cpp
@@ -9,6 +9,7 @@
#if ZEN_WITH_TESTS
# define ZEN_TEST_WITH_RUNNER 1
# include <zencore/testing.h>
+# include <zencore/process.h>
#endif
int
@@ -17,6 +18,10 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
#if ZEN_WITH_TESTS
zen::zenutil_forcelinktests();
+#if ZEN_PLATFORM_LINUX
+ zen::IgnoreChildSignals();
+#endif
+
zen::logging::InitializeLogging();
zen::MaximizeOpenFileCount();