summaryrefslogtreecommitdiff
path: root/debian/tests/admin-strongswan-charon
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/admin-strongswan-charon')
-rwxr-xr-xdebian/tests/admin-strongswan-charon17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/admin-strongswan-charon b/debian/tests/admin-strongswan-charon
new file mode 100755
index 000000000..e9b57bd57
--- /dev/null
+++ b/debian/tests/admin-strongswan-charon
@@ -0,0 +1,17 @@
+#!/bin/sh
+#--------------------------
+# Testing strongswan-charon
+#--------------------------
+CMDS="
+/usr/lib/ipsec/charon
+"
+
+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