testing: Remove nearly all sleep calls from pretest and posttest scripts
[strongswan.git] / testing / tests / openssl-ikev2 / net2net-pgp-v3 / pretest.dat
index 0f4ae0f..f2cbf6a 100644 (file)
@@ -4,5 +4,5 @@ moon::rm /etc/ipsec.d/cacerts/*
 sun::rm /etc/ipsec.d/cacerts/*
 moon::ipsec start
 sun::ipsec start
-moon::sleep 2
+moon::expect-connection net-net
 moon::ipsec up net-net