diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-19 17:53:31 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2015-12-11 18:26:53 +0100 |
commit | ae37090e65dce94c86eab7d1927da2917f31af16 (patch) | |
tree | dff2c82df14771fea8f24d86709307d6279a88d9 /testing/tests/swanctl/ocsp-multi-level/pretest.dat | |
parent | b77e25c381a61cb9c3aebe58628d61dc9958e41d (diff) | |
download | strongswan-ae37090e65dce94c86eab7d1927da2917f31af16.tar.bz2 strongswan-ae37090e65dce94c86eab7d1927da2917f31af16.tar.xz |
testing: Use expect-connection in swanctl scenarios
Only in net2net-start do we have to use `sleep` to ensure the SA is
up when the tests are running.
Diffstat (limited to 'testing/tests/swanctl/ocsp-multi-level/pretest.dat')
-rw-r--r-- | testing/tests/swanctl/ocsp-multi-level/pretest.dat | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/tests/swanctl/ocsp-multi-level/pretest.dat b/testing/tests/swanctl/ocsp-multi-level/pretest.dat index 61ac75d84..7b83e219d 100644 --- a/testing/tests/swanctl/ocsp-multi-level/pretest.dat +++ b/testing/tests/swanctl/ocsp-multi-level/pretest.dat @@ -1,8 +1,10 @@ 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 research +carol::expect-connection home carol::swanctl --initiate --child alice 2> /dev/null carol::swanctl --initiate --child venus 2> /dev/null +dave::expect-connection home dave::swanctl --initiate --child alice 2> /dev/null dave::swanctl --initiate --child venus 2> /dev/null |