summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/rw-cert/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/rw-cert/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/rw-cert/pretest.dat4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/tests/swanctl/rw-cert/pretest.dat b/testing/tests/swanctl/rw-cert/pretest.dat
index 706bd1edd..762c35418 100755
--- a/testing/tests/swanctl/rw-cert/pretest.dat
+++ b/testing/tests/swanctl/rw-cert/pretest.dat
@@ -4,6 +4,8 @@ dave::iptables-restore < /etc/iptables.rules
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