summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/rw-psk-fqdn/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/rw-psk-fqdn/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/rw-psk-fqdn/pretest.dat4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/tests/swanctl/rw-psk-fqdn/pretest.dat b/testing/tests/swanctl/rw-psk-fqdn/pretest.dat
index d55df408c..519b168ae 100755
--- a/testing/tests/swanctl/rw-psk-fqdn/pretest.dat
+++ b/testing/tests/swanctl/rw-psk-fqdn/pretest.dat
@@ -7,6 +7,8 @@ dave::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
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