summaryrefslogtreecommitdiff
path: root/tests/daemon
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-11 09:40:03 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-11 09:40:03 +0100
commit994ad140490ebba68ba2cc207100209e5a058058 (patch)
tree228a807c78f122a96342b4301417f6b50bfa8fee /tests/daemon
parent12d0993a0ba525a1347ec36be3b7aa8431dadace (diff)
downloadwolfbones-994ad140490ebba68ba2cc207100209e5a058058.tar.gz
wolfbones-994ad140490ebba68ba2cc207100209e5a058058.tar.bz2
moved PS_ALL from global platform.mk into local GNUmakefile
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 && \