summaryrefslogtreecommitdiff
path: root/tests/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'tests/daemon')
-rw-r--r--tests/daemon/GNUmakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/daemon/GNUmakefile b/tests/daemon/GNUmakefile
index 624a4fb..ae3062b 100644
--- a/tests/daemon/GNUmakefile
+++ b/tests/daemon/GNUmakefile
@@ -35,6 +35,21 @@ local_clean:
local_distclean:
-@rm -f testd_cmdline.c testd_cmdline.h
+# for testing, ps with all processes with as many information as possible
+ifeq "$(PLATFORM)" "FREEBSD"
+PS_ALL = ps aux
+else
+ifeq "$(PLATFORM)" "OPENBSD"
+PS_ALL = ps aux
+else
+ifeq "$(PLATFORM)" "NETBSD"
+PS_ALL = ps aux
+else
+PS_ALL = ps -alef
+endif
+endif
+endif
+
local_test:
@fakeroot ./testd -d -c ./testd.conf && \
sleep 3 && \