diff options
author | Martin Willi <martin@revosec.ch> | 2014-11-12 12:09:04 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2015-02-20 13:34:58 +0100 |
commit | 050556bf59e9089100c7820ef50758b8f7696e82 (patch) | |
tree | bbc6a8e2fb2a872498748ba05d148e267689dde8 /testing/tests/ikev2/nat-rw-psk | |
parent | b1ff437bbc4fca6d83bd42e18398475a0d544fa0 (diff) | |
download | strongswan-050556bf59e9089100c7820ef50758b8f7696e82.tar.bz2 strongswan-050556bf59e9089100c7820ef50758b8f7696e82.tar.xz |
testing: Be a little more flexible in testing for established CHILD_SA modes
As we now print the reqid parameter in the CHILD_SA details, adapt the grep
to still match the CHILD_SA mode and protocol.
Diffstat (limited to 'testing/tests/ikev2/nat-rw-psk')
-rw-r--r-- | testing/tests/ikev2/nat-rw-psk/evaltest.dat | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/ikev2/nat-rw-psk/evaltest.dat b/testing/tests/ikev2/nat-rw-psk/evaltest.dat index 6ec29c779..86fc1975e 100644 --- a/testing/tests/ikev2/nat-rw-psk/evaltest.dat +++ b/testing/tests/ikev2/nat-rw-psk/evaltest.dat @@ -1,6 +1,6 @@ -alice::ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL, ESP in UDP::YES -venus::ipsec status 2> /dev/null::nat-t.*INSTALLED. TUNNEL, ESP in UDP::YES -sun:: ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL, ESP in UDP::YES +alice::ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL.*ESP in UDP::YES +venus::ipsec status 2> /dev/null::nat-t.*INSTALLED. TUNNEL.*ESP in UDP::YES +sun:: ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL.*ESP in UDP::YES sun:: ipsec status 2> /dev/null::nat-t.*\[PH_IP_ALICE\]::YES sun:: ipsec status 2> /dev/null::nat-t.*\[PH_IP_VENUS\]::YES alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES |