summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-route/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/net2net-route/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/net2net-route/pretest.dat5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/swanctl/net2net-route/pretest.dat b/testing/tests/swanctl/net2net-route/pretest.dat
index 065d38d76..459879bbc 100755
--- a/testing/tests/swanctl/net2net-route/pretest.dat
+++ b/testing/tests/swanctl/net2net-route/pretest.dat
@@ -2,5 +2,6 @@ sun::iptables-restore < /etc/iptables.rules
moon::iptables-restore < /etc/iptables.rules
sun::service charon start 2> /dev/null
moon::service charon start 2> /dev/null
-moon::sleep 1
-alice::ping -c 3 10.2.0.10
+sun::expect-connection gw-gw
+moon::expect-connection gw-gw
+alice::ping -c 3 -W 1 -i 0.2 PH_IP_BOB