aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/libipsec/net2net-null/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-10-10 20:51:27 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-11-10 11:49:39 +0100
commit9375c9c9dbb63056769948cc42284ddcf9730b58 (patch)
tree1ac8445501440e4e2f3b0aba58588150d5a70b4e /testing/tests/libipsec/net2net-null/pretest.dat
parent86d1b7a14d87e3ea2efadc18c73d83d69ce15d80 (diff)
downloadstrongswan-9375c9c9dbb63056769948cc42284ddcf9730b58.tar.bz2
strongswan-9375c9c9dbb63056769948cc42284ddcf9730b58.tar.xz
testing: Converted libipsec/net2net-null to swanctl
Diffstat (limited to 'testing/tests/libipsec/net2net-null/pretest.dat')
-rw-r--r--testing/tests/libipsec/net2net-null/pretest.dat10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/tests/libipsec/net2net-null/pretest.dat b/testing/tests/libipsec/net2net-null/pretest.dat
index bcc2cb04d..9440ddab0 100644
--- a/testing/tests/libipsec/net2net-null/pretest.dat
+++ b/testing/tests/libipsec/net2net-null/pretest.dat
@@ -1,7 +1,7 @@
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
-sun::ipsec start
-moon::ipsec start
-sun::expect-connection net-net
-moon::expect-connection net-net
-moon::ipsec up net-net
+moon::systemctl start strongswan-swanctl
+sun::systemctl start strongswan-swanctl
+moon::expect-connection gw-gw
+sun::expect-connection gw-gw
+moon::swanctl --initiate --child net-net 2> /dev/null