aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/net2net-route
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-10-03 12:20:37 +0200
committerTobias Brunner <tobias@strongswan.org>2014-10-03 12:44:14 +0200
commit12e9ed12ecf1f84264c509559b2ad7f61618fb7b (patch)
tree9703bdf68ba99cc7433069d048a691bc02186dc5 /testing/tests/swanctl/net2net-route
parente9028462c83600f9de3e18338b1e499b121656c3 (diff)
downloadstrongswan-12e9ed12ecf1f84264c509559b2ad7f61618fb7b.tar.bz2
strongswan-12e9ed12ecf1f84264c509559b2ad7f61618fb7b.tar.xz
testing: Wait a bit in swanctl scenarios before interacting with the daemon
Diffstat (limited to 'testing/tests/swanctl/net2net-route')
-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 61e33fa24..71f8f8885 100755
--- a/testing/tests/swanctl/net2net-route/pretest.dat
+++ b/testing/tests/swanctl/net2net-route/pretest.dat
@@ -1,9 +1,10 @@
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::service charon start 2> /dev/null
+moon::sleep 1
sun::swanctl --load-creds 2> /dev/null
moon::swanctl --load-creds 2> /dev/null
sun::swanctl --load-conns 2> /dev/null
moon::swanctl --load-conns 2> /dev/null
-alice::ping -c 3 10.2.0.10
+alice::ping -c 3 10.2.0.10