From f519acd42f9efe7e566b918495418b2772a82c2a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 5 Nov 2015 14:47:58 +0100 Subject: 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. --- testing/tests/ikev2/alg-blowfish/pretest.dat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/tests/ikev2/alg-blowfish/pretest.dat') diff --git a/testing/tests/ikev2/alg-blowfish/pretest.dat b/testing/tests/ikev2/alg-blowfish/pretest.dat index 8bbea1412..a55cf37b2 100644 --- a/testing/tests/ikev2/alg-blowfish/pretest.dat +++ b/testing/tests/ikev2/alg-blowfish/pretest.dat @@ -4,6 +4,7 @@ dave::iptables-restore < /etc/iptables.rules moon::ipsec start carol::ipsec start dave::ipsec start -carol::sleep 1 +carol::expect-connection home carol::ipsec up home +dave::expect-connection home dave::ipsec up home -- cgit v1.2.3