summaryrefslogtreecommitdiff
path: root/debian/tests/admin-strongswan-charon
blob: e9b57bd57ba268bd14b1ef04f173459c225269fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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