aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/gcrypt-ikev1
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-05 14:47:58 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-09 15:18:35 +0100
commitf519acd42f9efe7e566b918495418b2772a82c2a (patch)
treecf02be49743fcbaafd8f614daa263fb72d816a65 /testing/tests/gcrypt-ikev1
parent747b64875f1577654d06a0d1517acfb8e3051c47 (diff)
downloadstrongswan-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/gcrypt-ikev1')
-rw-r--r--testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat2
-rw-r--r--testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat b/testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat
index 1b8fc3b79..8230de058 100644
--- a/testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat
+++ b/testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat
@@ -1,4 +1,4 @@
carol::ipsec start
moon::ipsec start
-carol::sleep 2
+carol::expect-connection home
carol::ipsec up home
diff --git a/testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat b/testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat
index 1b8fc3b79..8230de058 100644
--- a/testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat
+++ b/testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat
@@ -1,4 +1,4 @@
carol::ipsec start
moon::ipsec start
-carol::sleep 2
+carol::expect-connection home
carol::ipsec up home