From: Andreas Steffen Date: Fri, 10 May 2019 10:55:09 +0000 (+0200) Subject: testing: Use strongswan systemd service X-Git-Tag: 5.8.0rc1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47879ca63813868457a3c2c0551395e7c946c34b;p=thirdparty%2Fstrongswan.git testing: Use strongswan systemd service --- diff --git a/testing/tests/swanctl/net2net-childless/posttest.dat b/testing/tests/swanctl/net2net-childless/posttest.dat index 755f0e5f8e..cc6a5bff73 100755 --- a/testing/tests/swanctl/net2net-childless/posttest.dat +++ b/testing/tests/swanctl/net2net-childless/posttest.dat @@ -1,5 +1,5 @@ moon::swanctl --terminate --ike gw-gw 2> /dev/null -moon::systemctl stop strongswan-swanctl -sun::systemctl stop strongswan-swanctl +moon::systemctl stop strongswan +sun::systemctl stop strongswan moon::iptables-restore < /etc/iptables.flush sun::iptables-restore < /etc/iptables.flush diff --git a/testing/tests/swanctl/net2net-childless/pretest.dat b/testing/tests/swanctl/net2net-childless/pretest.dat index 9440ddab0a..2d3c8c1e20 100755 --- a/testing/tests/swanctl/net2net-childless/pretest.dat +++ b/testing/tests/swanctl/net2net-childless/pretest.dat @@ -1,7 +1,7 @@ moon::iptables-restore < /etc/iptables.rules sun::iptables-restore < /etc/iptables.rules -moon::systemctl start strongswan-swanctl -sun::systemctl start strongswan-swanctl +moon::systemctl start strongswan +sun::systemctl start strongswan moon::expect-connection gw-gw sun::expect-connection gw-gw moon::swanctl --initiate --child net-net 2> /dev/null