From eb25b1a73d320532974dfd80411773673ea90820 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 16 Jun 2016 14:35:26 +0200 Subject: [PATCH] testing: Fix expect-connection for tkm tests We don't use swanctl there but there is no load statement either. --- testing/hosts/default/usr/local/bin/expect-connection | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/hosts/default/usr/local/bin/expect-connection b/testing/hosts/default/usr/local/bin/expect-connection index 17e2b7fbe..ded9f791c 100755 --- a/testing/hosts/default/usr/local/bin/expect-connection +++ b/testing/hosts/default/usr/local/bin/expect-connection @@ -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