summaryrefslogtreecommitdiff
path: root/debian/tests/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/daemon')
-rwxr-xr-xdebian/tests/daemon14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/daemon b/debian/tests/daemon
new file mode 100755
index 000000000..2a8b5e688
--- /dev/null
+++ b/debian/tests/daemon
@@ -0,0 +1,14 @@
+#!/bin/sh
+#------------------------
+# Testing starter, charon
+#------------------------
+DAEMONS="starter charon"
+
+for daemon in $DAEMONS; do
+ if pidof -x $daemon > /dev/null; then
+ echo "$daemon OK"
+ else
+ echo "ERROR: ${daemon} IS NOT RUNNING"
+ exit 1
+ fi
+done