testing: Use expect-connection in swanctl scenarios
authorTobias Brunner <tobias@strongswan.org>
Thu, 19 Nov 2015 16:53:31 +0000 (17:53 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 11 Dec 2015 17:26:53 +0000 (18:26 +0100)
commitae37090e65dce94c86eab7d1927da2917f31af16
treedff2c82df14771fea8f24d86709307d6279a88d9
parentb77e25c381a61cb9c3aebe58628d61dc9958e41d
testing: Use expect-connection in swanctl scenarios

Only in net2net-start do we have to use `sleep` to ensure the SA is
up when the tests are running.
13 files changed:
testing/tests/swanctl/frags-ipv4/pretest.dat
testing/tests/swanctl/frags-ipv6/pretest.dat
testing/tests/swanctl/ip-pool-db/pretest.dat
testing/tests/swanctl/ip-pool/pretest.dat
testing/tests/swanctl/multi-level-ca/pretest.dat
testing/tests/swanctl/net2net-cert/pretest.dat
testing/tests/swanctl/net2net-route/pretest.dat
testing/tests/swanctl/net2net-start/pretest.dat
testing/tests/swanctl/ocsp-multi-level/pretest.dat
testing/tests/swanctl/rw-cert/pretest.dat
testing/tests/swanctl/rw-hash-and-url/pretest.dat
testing/tests/swanctl/rw-psk-fqdn/pretest.dat
testing/tests/swanctl/rw-psk-ipv4/pretest.dat