diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-05 14:57:07 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 15:18:35 +0100 |
commit | cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c (patch) | |
tree | fe12efd00f31d81b3384136d3b32b2d7b3cb4182 /testing/tests/tnc/tnccs-20-client-retry | |
parent | f519acd42f9efe7e566b918495418b2772a82c2a (diff) | |
download | strongswan-cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c.tar.bz2 strongswan-cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c.tar.xz |
testing: Avoid delays with ping by using -W and -i options
With -W we reduce timeouts when we don't expect a response. With -i the
interval between pings is reduced (mostly in case of auto=route where
the first ping yields no reply).
Diffstat (limited to 'testing/tests/tnc/tnccs-20-client-retry')
-rw-r--r-- | testing/tests/tnc/tnccs-20-client-retry/evaltest.dat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/tnc/tnccs-20-client-retry/evaltest.dat b/testing/tests/tnc/tnccs-20-client-retry/evaltest.dat index bac7294b2..c69940c4b 100644 --- a/testing/tests/tnc/tnccs-20-client-retry/evaltest.dat +++ b/testing/tests/tnc/tnccs-20-client-retry/evaltest.dat @@ -13,7 +13,7 @@ moon:: cat /var/log/daemon.log::authentication of 'dave@strongswan.org' with EAP moon:: ipsec statusall 2> /dev/null::rw-allow.*10.1.0.0/28 === 192.168.0.100/32::YES moon:: ipsec statusall 2> /dev/null::rw-isolate.*10.1.0.16/28 === 192.168.0.200/32::YES carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES -carol::ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_ALICE: icmp_req=1::NO +carol::ping -c 1 -W 1 PH_IP_VENUS::64 bytes from PH_IP_ALICE: icmp_req=1::NO dave:: ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_VENUS: icmp_req=1::YES -dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_VENUS: icmp_req=1::NO +dave:: ping -c 1 -W 1 PH_IP_ALICE::64 bytes from PH_IP_VENUS: icmp_req=1::NO |