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-chacha20poly1305/pretest.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/ikev2/alg-chacha20poly1305') diff --git a/testing/tests/ikev2/alg-chacha20poly1305/pretest.dat b/testing/tests/ikev2/alg-chacha20poly1305/pretest.dat index 4fc25772b..de4acbbf0 100644 --- a/testing/tests/ikev2/alg-chacha20poly1305/pretest.dat +++ b/testing/tests/ikev2/alg-chacha20poly1305/pretest.dat @@ -2,5 +2,5 @@ moon::iptables-restore < /etc/iptables.rules carol::iptables-restore < /etc/iptables.rules moon::ipsec start carol::ipsec start -carol::sleep 1 +carol::expect-connection home carol::ipsec up home -- cgit v1.2.3