testing: Make sure the whitelist plugin is ready before configuring it

This commit is contained in:
Tobias Brunner 2014-10-03 12:04:53 +02:00
parent 09f1fb82f9
commit 722a8a177e
1 changed files with 3 additions and 1 deletions

View File

@ -4,12 +4,14 @@ dave::iptables-restore < /etc/iptables.rules
carol::ipsec start
dave::ipsec start
moon::ipsec start
moon::expect-connection rw
moon::ipsec whitelist add alice@strongswan.org
moon::ipsec whitelist add bob@strongswan.org
moon::ipsec whitelist add carol@strongswan.org
moon::ipsec whitelist enable
moon::ipsec whitelist list
carol::sleep 2
carol::expect-connection home
carol::ipsec up home
dave::expect-connection home
dave::ipsec up home
carol::sleep 1