testing: Fix expect-connection for tkm tests

We don't use swanctl there but there is no load statement either.
This commit is contained in:
Tobias Brunner
2016-06-16 14:35:26 +02:00
parent aacf84d837
commit eb25b1a73d
@@ -17,7 +17,7 @@ secs=$2
cmd="swanctl --list-conns"
grep 'load.*stroke' /etc/strongswan.conf >/dev/null
if [ $? -eq 0 ]; then
if [ $? -eq 0 -o -n "$DAEMON_NAME" ]; then
cmd="ipsec statusall"
fi