summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/nat-rw/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/nat-rw/pretest.dat')
-rw-r--r--testing/tests/ikev1/nat-rw/pretest.dat5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/tests/ikev1/nat-rw/pretest.dat b/testing/tests/ikev1/nat-rw/pretest.dat
index d701a1d61..e3d9fc858 100644
--- a/testing/tests/ikev1/nat-rw/pretest.dat
+++ b/testing/tests/ikev1/nat-rw/pretest.dat
@@ -6,8 +6,7 @@ moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-
alice::ipsec start
venus::ipsec start
sun::ipsec start
-alice::sleep 2
+alice::expect-connection nat-t
alice::ipsec up nat-t
-venus::sleep 2
+venus::expect-connection nat-t
venus::ipsec up nat-t
-venus::sleep 2