summaryrefslogtreecommitdiffstats
path: root/debian/tests/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/daemon')
-rw-r--r--debian/tests/daemon13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/daemon b/debian/tests/daemon
new file mode 100644
index 0000000..173d90f
--- /dev/null
+++ b/debian/tests/daemon
@@ -0,0 +1,13 @@
+#!/bin/sh
+#--------------
+# Testing exim4
+#--------------
+set -e
+DAEMON=exim4
+
+if pidof -x $DAEMON > /dev/null; then
+ echo "OK"
+else
+ echo "ERROR: ${DAEMON} IS NOT RUNNING"
+ exit 1
+fi