From: Tobias Brunner Date: Thu, 16 Jun 2016 12:35:26 +0000 (+0200) Subject: testing: Fix expect-connection for tkm tests X-Git-Tag: 5.5.0dr1~17^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb25b1a73d320532974dfd80411773673ea90820;p=thirdparty%2Fstrongswan.git testing: Fix expect-connection for tkm tests We don't use swanctl there but there is no load statement either. --- diff --git a/testing/hosts/default/usr/local/bin/expect-connection b/testing/hosts/default/usr/local/bin/expect-connection index 17e2b7fbe1..ded9f791cd 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