aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ipv6/host2host-ikev1/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-10-17 11:44:17 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-11-10 11:49:39 +0100
commit087b027f88799a73f63d975a90c482e1a708e58c (patch)
treeae8af924c705fb2c213b0acc2de93b955bfe4cb8 /testing/tests/ipv6/host2host-ikev1/pretest.dat
parent0a6f8644ef4a88755fcd92225a6e6519a5e6b6dc (diff)
downloadstrongswan-087b027f88799a73f63d975a90c482e1a708e58c.tar.bz2
strongswan-087b027f88799a73f63d975a90c482e1a708e58c.tar.xz
testing: Converted ipv6/host2host-ikev1 to swanctl
Diffstat (limited to 'testing/tests/ipv6/host2host-ikev1/pretest.dat')
-rw-r--r--testing/tests/ipv6/host2host-ikev1/pretest.dat9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/tests/ipv6/host2host-ikev1/pretest.dat b/testing/tests/ipv6/host2host-ikev1/pretest.dat
index 46c015387..340344c95 100644
--- a/testing/tests/ipv6/host2host-ikev1/pretest.dat
+++ b/testing/tests/ipv6/host2host-ikev1/pretest.dat
@@ -2,8 +2,9 @@ moon::iptables-restore < /etc/iptables.drop
sun::iptables-restore < /etc/iptables.drop
moon::ip6tables-restore < /etc/ip6tables.rules
sun::ip6tables-restore < /etc/ip6tables.rules
-moon::ipsec start
-sun::ipsec start
-moon::expect-connection host-host
+moon::systemctl start strongswan-swanctl
+sun::systemctl start strongswan-swanctl
sun::expect-connection host-host
-moon::ipsec up host-host
+moon::expect-connection host-host
+moon::swanctl --initiate --child host-host 2> /dev/null
+moon::sleep 1