freebsd-skq/tests/sys/kern
asomers 57f5ddd49d Numerous small fixes, mostly suggested by Coverity.
tests/sys/kern/unix_seqpacket_test.c
	* Remove a duplicate error check in mk_pair_of_sockets
	* Always close sockets in the success path of ATF test cases.  Don't
	  bother with the error paths, because those are mostly assertions
	  anyway.  Most of these socket leaks were reported by Coverity.
	  All of them are harmless, because each ATF test case runs in its
	  own process.
	* Fix the len argument to send in shutdown_send and
	  shutdown_send_sigpipe.  The old version was using sizeof a pointer
	  instead of sizeof the char array.  Reported by Coverity.
	* Change a few ATF_CHECK to ATF_REQUIRE if the test can't reasonably
	  continue past a failure.

Reported by:	Coverity Scan
CID:		1229995, 1229991, 1229988, 1229994, 1229989, 1229992
CID:		1229993, 1229990, 1229984, 1229967, 1230005, 1229977
CID:		1229966, 1230004, 1229976
MFC after:	1 week
Sponsored by:	Spectra Logic
2014-08-20 16:59:33 +00:00
..
kern_descrip_test.c Added sysctl kern.maxfiles increase test, do not use /etc/passwd for tests 2014-03-19 09:41:12 +00:00
Makefile Make bsd.test.mk the only public mk fragment for the building of tests. 2014-03-14 08:56:19 +00:00
unix_seqpacket_test.c Numerous small fixes, mostly suggested by Coverity. 2014-08-20 16:59:33 +00:00