summaryrefslogtreecommitdiff
path: root/server/src/daemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/daemon.cc')
-rw-r--r--server/src/daemon.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/daemon.cc b/server/src/daemon.cc
index 8297111..938170c 100644
--- a/server/src/daemon.cc
+++ b/server/src/daemon.cc
@@ -174,3 +174,18 @@ int Daemon::run(const char *user, const char* group, bool detach,
return ret;
}
+
+#ifdef TEST_DAEMON
+//deps:
+//cflags:
+//libs:
+#include <test.h>
+
+TEST_BEGIN;
+
+// TODO: Put some testcode here (see test.h for usable macros).
+TEST_TRUE(false, "No tests yet!");
+
+TEST_END;
+
+#endif/*TEST_DAEMON*/