[ovs-dev] [PATCH v2 0/2] system-traffic: use appropriate nc options for installed version
Lance Richardson
lrichard at redhat.com
Fri Jan 22 15:12:27 UTC 2016
Test cases using netcat ("ICMP related" and "ICMP related with NAT")
currently fail on systems using the nmap version of nc because this
version does not support the -q command-line option.
Fix this by detecting which version of netcat is is in use and
using the "--send-only" command-line option when the nmap flavor
is detected, and using "-q 1" otherwise (openbsd and traditional
versions).
Tested via "make check-kernel" on RHEL7 (nmap version of nc) and
Debian 8.2 (openbsd version of nc).
Lance Richardson (2):
Revert "system-traffic: Remove netcat from ICMP test."
system-traffic: use appropriate nc options for installed version
tests/atlocal.in | 7 +++++++
tests/system-traffic.at | 21 ++++-----------------
2 files changed, 11 insertions(+), 17 deletions(-)
--
2.1.4
More information about the dev
mailing list