summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/ip-pool-db/pretest.dat
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2016-03-24 11:59:32 +0100
committerYves-Alexis Perez <corsac@debian.org>2016-03-24 11:59:32 +0100
commit14275f20dd704bd6c3b97b234940c325db082c83 (patch)
treebfa3475c29649e094eaa6e055711e34a9f0a65f9 /testing/tests/swanctl/ip-pool-db/pretest.dat
parent26962344688a8a9ef6d5da2a8b16e41cf2757a87 (diff)
parent518dd33c94e041db0444c7d1f33da363bb8e3faf (diff)
downloadvyos-strongswan-14275f20dd704bd6c3b97b234940c325db082c83.tar.gz
vyos-strongswan-14275f20dd704bd6c3b97b234940c325db082c83.zip
Merge tag 'upstream/5.4.0'
Upstream version 5.4.0
Diffstat (limited to 'testing/tests/swanctl/ip-pool-db/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/ip-pool-db/pretest.dat6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/tests/swanctl/ip-pool-db/pretest.dat b/testing/tests/swanctl/ip-pool-db/pretest.dat
index 91380e6f9..955a3c9be 100755
--- a/testing/tests/swanctl/ip-pool-db/pretest.dat
+++ b/testing/tests/swanctl/ip-pool-db/pretest.dat
@@ -7,9 +7,11 @@ moon::ipsec pool --addattr nbns --server PH_IP_VENUS 2> /dev/null
moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
-moon::service charon start 2> /dev/null
+moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
dave::service charon start 2> /dev/null
-moon::sleep 1
+moon::expect-connection rw
+carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
+dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null