aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/double-nat-net
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-11-12 12:09:04 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:58 +0100
commit050556bf59e9089100c7820ef50758b8f7696e82 (patch)
treebbc6a8e2fb2a872498748ba05d148e267689dde8 /testing/tests/ikev2/double-nat-net
parentb1ff437bbc4fca6d83bd42e18398475a0d544fa0 (diff)
downloadstrongswan-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/double-nat-net')
-rw-r--r--testing/tests/ikev2/double-nat-net/evaltest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/double-nat-net/evaltest.dat b/testing/tests/ikev2/double-nat-net/evaltest.dat
index 52c561964..8f5ffdb50 100644
--- a/testing/tests/ikev2/double-nat-net/evaltest.dat
+++ b/testing/tests/ikev2/double-nat-net/evaltest.dat
@@ -1,7 +1,7 @@
alice::ipsec status 2> /dev/null::nat-t.*ESTABLISHED.*alice@strongswan.org.*bob@strongswan.org::YES
bob:: ipsec status 2> /dev/null::nat-t.*ESTABLISHED.*bob@strongswan.org.*alice@strongswan.org::YES
-alice::ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL, ESP in UDP::YES
-bob:: 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
+bob:: ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL.*ESP in UDP::YES
alice::ping -c 1 PH_IP_SUN1::64 bytes from PH_IP_SUN1: icmp_req=1::YES
moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.4500: UDP::YES
moon::tcpdump::IP sun.strongswan.org.4500 > moon.strongswan.org.*: UDP::YES