diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-10-03 12:20:37 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-10-03 12:44:14 +0200 |
commit | 12e9ed12ecf1f84264c509559b2ad7f61618fb7b (patch) | |
tree | 9703bdf68ba99cc7433069d048a691bc02186dc5 /testing/tests/swanctl/net2net-route | |
parent | e9028462c83600f9de3e18338b1e499b121656c3 (diff) | |
download | strongswan-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-x | testing/tests/swanctl/net2net-route/pretest.dat | 5 |
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 |