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