testing: Wait a bit in swanctl scenarios before interacting with the daemon

This commit is contained in:
Tobias Brunner
2014-10-03 12:44:14 +02:00
parent e9028462c8
commit 12e9ed12ec
7 changed files with 16 additions and 9 deletions
@@ -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
moon::sleep 1
moon::sleep 1