cvs commit: src/tools/regression/sockets/sigpipe Makefile sigpipe.c
Robert Watson
rwatson at FreeBSD.org
Fri Mar 11 04:47:15 PST 2005
rwatson 2005-03-11 12:47:14 UTC
FreeBSD src repository
Added files:
tools/regression/sockets/sigpipe Makefile sigpipe.c
Log:
Add sigpipe, a simple UNIX domain socket and TCP regression test that is
intended to verify that SIGPIPE is delivered to a process writing or
sending on a socket that has been shut down for write. If available,
SO_NOSIGPIPE is also tested.
This regression test is currently passed by RELENG_4, but not by HEAD or
RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not
present in RELENG_4, however, so is not tested there.
Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net>
PR: 78478
Revision Changes Path
1.1 +9 -0 src/tools/regression/sockets/sigpipe/Makefile (new)
1.1 +318 -0 src/tools/regression/sockets/sigpipe/sigpipe.c (new)
More information about the cvs-src
mailing list