Add expect-connection guest image script
authorReto Buerki <reet@codelabs.ch>
Mon, 10 Dec 2012 15:16:56 +0000 (16:16 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 17 Jan 2013 15:54:55 +0000 (16:54 +0100)
commit76ccd25a050a543e9dfc5fd23d5ebe976660fccb
treeb1bc8cd79b24138e9c1603e18a2b61366b6d4363
parent44e83859e0819c86d10007380da19829e3112f51
Add expect-connection guest image script

This script can be used in pretest.dat files to wait until an IPsec
connection becomes available. This avoids unconditional sleeps and
improves test performance.

The ipv6 tests have been updated to use the expect-connection script.
21 files changed:
testing/hosts/default/usr/local/bin/expect-connection [new file with mode: 0755]
testing/scripts/build-guestimages
testing/tests/ipv6/host2host-ikev1/pretest.dat
testing/tests/ipv6/host2host-ikev2/pretest.dat
testing/tests/ipv6/net2net-ikev1/pretest.dat
testing/tests/ipv6/net2net-ikev2/pretest.dat
testing/tests/ipv6/net2net-ip4-in-ip6-ikev1/pretest.dat
testing/tests/ipv6/net2net-ip4-in-ip6-ikev2/pretest.dat
testing/tests/ipv6/net2net-ip6-in-ip4-ikev1/pretest.dat
testing/tests/ipv6/net2net-ip6-in-ip4-ikev2/pretest.dat
testing/tests/ipv6/net2net-rfc3779-ikev2/pretest.dat
testing/tests/ipv6/rw-ikev1/pretest.dat
testing/tests/ipv6/rw-ikev2/pretest.dat
testing/tests/ipv6/rw-ip6-in-ip4-ikev1/pretest.dat
testing/tests/ipv6/rw-ip6-in-ip4-ikev1/rw-ip6-in-ip4-ikev1/pretest.dat
testing/tests/ipv6/rw-ip6-in-ip4-ikev2/pretest.dat
testing/tests/ipv6/rw-psk-ikev1/pretest.dat
testing/tests/ipv6/rw-psk-ikev2/pretest.dat
testing/tests/ipv6/rw-rfc3779-ikev2/pretest.dat
testing/tests/ipv6/transport-ikev1/pretest.dat
testing/tests/ipv6/transport-ikev2/pretest.dat