]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Make sure the whitelist plugin is ready before configuring it
authorTobias Brunner <tobias@strongswan.org>
Fri, 3 Oct 2014 10:04:53 +0000 (12:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 3 Oct 2014 10:44:14 +0000 (12:44 +0200)
testing/tests/ikev2/rw-whitelist/pretest.dat

index 87760775a1fff4c4cdc5e67d78dfb16b752f620c..0f246a8a4dbc3ef6a461233d81480e987543a9d4 100644 (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