1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00
freebsd/tools/regression/sockets
Robert Watson 07c2a9537e Add unix_close_race, a regresion test to catch ENOTCONN being returned
improperly from one of two instances of close(2) being called
simultaneously on both ends of a connected UNIX domain socket.  The test
tool is slightly tweaked to improve failure modes, and while often does
trigger the problem, doesn't do so consistently due to the nature of the
race.

PR:		kern/144061
Submitted by:	Mikolaj Golub <to.my.trociny@gmail.com>
MFC after:	3 days
2010-05-26 10:46:03 +00:00
..
accept_fd_leak Add another fd leak test for accept() I used to test the fix in 1.234 of 2007-04-02 16:02:50 +00:00
accf_data_attach - Remove a bogus test: setsockopt() doesn't return a length, getsockopt() 2009-09-23 14:23:09 +00:00
fstat Add very simple regression test for fstat(2) on sockets: make sure it 2008-10-06 19:42:03 +00:00
kqueue Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
listen_backlog o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
listenclose Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
pr_atomic Drop all received data mbufs from a socket's queue if the MT_SONAME 2006-12-23 21:07:07 +00:00
reconnect Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
rtsocket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
sblock Add a regression test to detect if waiting on the I/O serialization lock 2007-05-06 14:28:49 +00:00
sendfile Fixed missing or broken library dependencies. 2010-02-25 14:42:26 +00:00
shutdown Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
sigpipe Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
socketpair Fix a fd leak in socketpair(): 2007-04-02 19:15:47 +00:00
unix_bindconnect o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_close_race Add unix_close_race, a regresion test to catch ENOTCONN being returned 2010-05-26 10:46:03 +00:00
unix_cmsg o Let getopt(3) report errors in command line arguments. 2006-05-31 08:10:34 +00:00
unix_gc Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
unix_passfd o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_sendtorace Add a short regression test to try to exercise races in the non-atomic 2006-11-15 12:43:45 +00:00
unix_seqpacket A few regression tests for SOCK_SEQPACKET UNIX domain sockets. 2009-10-05 15:27:01 +00:00
unix_seqpacket_exercise A few regression tests for SOCK_SEQPACKET UNIX domain sockets. 2009-10-05 15:27:01 +00:00
unix_socket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_sorflush Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
zerosend Ignore EINPROGRESS error on TCP connect(), and pick up the result of the 2007-01-12 22:17:31 +00:00