From 47879ca63813868457a3c2c0551395e7c946c34b Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Fri, 10 May 2019 12:55:09 +0200 Subject: [PATCH] testing: Use strongswan systemd service --- testing/tests/swanctl/net2net-childless/posttest.dat | 4 ++-- testing/tests/swanctl/net2net-childless/pretest.dat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/tests/swanctl/net2net-childless/posttest.dat b/testing/tests/swanctl/net2net-childless/posttest.dat index 755f0e5f8..cc6a5bff7 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 9440ddab0..2d3c8c1e2 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