summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/net2net-psk/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/net2net-psk/pretest.dat')
-rw-r--r--testing/tests/ikev1/net2net-psk/pretest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev1/net2net-psk/pretest.dat b/testing/tests/ikev1/net2net-psk/pretest.dat
index 0f4ae0f4f..fe4223a44 100644
--- a/testing/tests/ikev1/net2net-psk/pretest.dat
+++ b/testing/tests/ikev1/net2net-psk/pretest.dat
@@ -2,7 +2,7 @@ moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::rm /etc/ipsec.d/cacerts/*
sun::rm /etc/ipsec.d/cacerts/*
-moon::ipsec start
sun::ipsec start
-moon::sleep 2
+moon::ipsec start
+moon::expect-connection net-net
moon::ipsec up net-net