[ovs-dev] [PATCH] system-traffic: Use NC_EOF_OPT in truncate tests.

Andy Zhou azhou at ovn.org
Mon Jul 11 18:27:47 UTC 2016


On Mon, Jul 11, 2016 at 10:29 AM, Joe Stringer <joe at ovn.org> wrote:

> NC_EOF_OPT should always be passed to netcat in system-traffic tests
> when invoking netcat to send a single packet that does not expect a
> response. While on typical fedora/RH based distributions the default
> behaviour is to send the packet then return, there are multiple other
> implementations of netcat that do not do this (for example, those used
> by Debian and Ubuntu by default). For these alternative implementations,
> we provide $NC_EOF_OPT to ensure that netcat simply sends the packet
> then returns immediately.
>
> Signed-off-by: Joe Stringer <joe at ovn.org>
>
Looks good. Thanks for working on this.

Acked-by: Andy Zhou <azhou at ovn.org>



More information about the dev mailing list