summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-cert/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/net2net-cert/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/net2net-cert/pretest.dat3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/swanctl/net2net-cert/pretest.dat b/testing/tests/swanctl/net2net-cert/pretest.dat
index 81410ffc2..b128bef44 100755
--- a/testing/tests/swanctl/net2net-cert/pretest.dat
+++ b/testing/tests/swanctl/net2net-cert/pretest.dat
@@ -2,5 +2,6 @@ moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::service charon start 2> /dev/null
sun::service charon start 2> /dev/null
-moon::sleep 1
+moon::expect-connection gw-gw
+sun::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null