test-vconn: Also accept EPIPE for TCP connection failures.
authorBen Pfaff <blp@nicira.com>
Tue, 31 Jul 2012 17:12:21 +0000 (10:12 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Aug 2012 00:04:49 +0000 (17:04 -0700)
commitb322930908706d7db5cb5d1658c5c64f2642300a
treeb52f30ba2b0bd02b611437656940868504a8a9f9
parent6d1fb217a904374316abdc9050db795129f72a13
test-vconn: Also accept EPIPE for TCP connection failures.

Ed Maste reports that write() to a socket where the other side has closed
returns EPIPE on FreeBSD and ECONNRESET on Linux.

Reported-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/test-vconn.c