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.
8 lines
218 B
Plaintext
8 lines
218 B
Plaintext
moon::/etc/init.d/iptables start 2> /dev/null
|
|
sun::/etc/init.d/iptables start 2> /dev/null
|
|
moon::ipsec start
|
|
sun::ipsec start
|
|
moon::expect-connection host-host
|
|
sun::expect-connection host-host
|
|
moon::ipsec up host-host
|