summaryrefslogtreecommitdiff
path: root/debian/tests/admin-strongswan-starter
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/admin-strongswan-starter')
-rwxr-xr-xdebian/tests/admin-strongswan-starter21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/tests/admin-strongswan-starter b/debian/tests/admin-strongswan-starter
new file mode 100755
index 000000000..7b32e00fd
--- /dev/null
+++ b/debian/tests/admin-strongswan-starter
@@ -0,0 +1,21 @@
+#!/bin/sh
+#---------------------------
+# Testing strongswan-starter
+#---------------------------
+CMDS="
+/usr/bin/pki
+/usr/lib/ipsec/_copyright
+/usr/lib/ipsec/scepclient
+/usr/lib/ipsec/stroke
+/usr/sbin/ipsec
+"
+
+for cmd in $CMDS; do
+ $cmd --help > /dev/null 2>&1
+ RET=$?
+
+ if [ $RET -ne 0 ]; then
+ echo "ERROR, failed to run ${cmd}" >&2
+ exit $RET
+ fi
+done