freebsd-nq/tests/sys
Mark Johnston 9f21643182 Fix the regression test for PR 181741.
With r337328, the test hangs becase the sendmsg() call will block until
the receive buffer is at least partially drained.  Fix the problem by
using a non-blocking socket and allowing short writes.  Also assert
that a SCM_CREDS message was received if one was expected.

PR:		181741
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D16516
2018-08-04 20:29:58 +00:00
..
acl Temporarily disable the sys/acl/00 and sys/acl/02 tests 2018-07-22 21:00:11 +00:00
aio lio_listio: return EAGAIN instead of EIO when out of resources 2018-04-16 18:12:15 +00:00
audit audit(4): add tests for sysctl(3) and sysarch(2) 2018-07-29 20:34:44 +00:00
auditpipe Introduce test program for auditpipe(4) 2018-07-26 00:16:41 +00:00
capsicum Disable connectat/bindat with AT_FDCWD in capmode 2018-04-30 17:31:06 +00:00
cddl Strip trailing / from TESTSDIR 2018-05-11 16:11:24 +00:00
fifo other: Fix several typos and minor errors 2017-12-27 03:23:58 +00:00
file DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fs Fix sys.fs.tmpfs.mknod_test.{char, block} by reverting r321967 2018-07-21 20:14:01 +00:00
geom Increase timeout for nop_test:stripesize. 2018-08-03 12:16:02 +00:00
kern Fix the regression test for PR 181741. 2018-08-04 20:29:58 +00:00
kqueue Correct possible misleading error message in kqtest. 2018-07-30 14:21:49 +00:00
mac DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mqueue DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
net Add tests for lagg(4) and other cloned network interfaces 2018-02-23 18:18:42 +00:00
netinet DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
netipsec Clear expected failures for aesni_aes_gcm tests 2018-07-21 19:28:07 +00:00
netpfil pf tests: Basic synproxy test 2018-07-14 21:32:32 +00:00
opencrypto Import Blake2 algorithms (blake2b, blake2s) from libb2 2018-03-21 16:18:14 +00:00
pjdfstest DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
posixshm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sys DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vfs vfs_lookup: Allow PATH_MAX-1 symlinks 2017-11-17 19:25:39 +00:00
vm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile Introduce test program for auditpipe(4) 2018-07-26 00:16:41 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Use MK_CHECK_USE_SANDBOX in tests/..., to deal with the fact that 2017-08-02 22:24:08 +00:00