diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-05 14:47:58 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 15:18:35 +0100 |
commit | f519acd42f9efe7e566b918495418b2772a82c2a (patch) | |
tree | cf02be49743fcbaafd8f614daa263fb72d816a65 /testing/tests/ikev2/any-interface/pretest.dat | |
parent | 747b64875f1577654d06a0d1517acfb8e3051c47 (diff) | |
download | strongswan-f519acd42f9efe7e566b918495418b2772a82c2a.tar.bz2 strongswan-f519acd42f9efe7e566b918495418b2772a82c2a.tar.xz |
testing: Remove nearly all sleep calls from pretest and posttest scripts
By consistently using the `expect-connection` helper we can avoid pretty
much all previously needed calls to sleep.
Diffstat (limited to 'testing/tests/ikev2/any-interface/pretest.dat')
-rw-r--r-- | testing/tests/ikev2/any-interface/pretest.dat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/ikev2/any-interface/pretest.dat b/testing/tests/ikev2/any-interface/pretest.dat index 0a6ce8be4..a122073e4 100644 --- a/testing/tests/ikev2/any-interface/pretest.dat +++ b/testing/tests/ikev2/any-interface/pretest.dat @@ -4,7 +4,8 @@ alice::ipsec start moon::ipsec start sun::ipsec start bob::ipsec start -moon::sleep 2 +moon::expect-connection alice moon::ping -n -c 3 -s 8184 -p deadbeef PH_IP_ALICE moon::ping -n -c 3 -s 8184 -p deadbeef PH_IP_SUN +bob::expect-connection sun bob::ping -n -c 3 -s 8184 -p deadbeef PH_IP_SUN1 |