Date: Mon, 29 May 2006 18:40:56 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/sockets/unix_cmsg Makefile README unix_cmsg.c unix_cmsg.t Message-ID: <200605291840.k4TIeuZn092524@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2006-05-29 18:40:56 UTC
FreeBSD src repository
Added files:
tools/regression/sockets/unix_cmsg Makefile README unix_cmsg.c
unix_cmsg.t
Log:
o Add a collection of regression tests for ancillary (control)
data passing for unix domain sockets, stream and datagram.
There are 15 tests:
Test/Type of socket STREAM DGRAM
----------------------------------------------------------------------
Sending, receiving cmsgcred 1 6
Receiving sockcred (listening socket has LOCAL_CREDS) 2 n/a
Receiving sockcred (accepted socket has LOCAL_CREDS) 3 n/a
Receiving sockcred n/a 7
Sending cmsgcred, receiving sockcred 4 8
Sending, receiving timestamp 5 9
Sending, receiving cmsgcred (no control data) 10 13
Sending cmsgcred, receiving sockcred (no control data) 11 14
Sending, receiving timestamp (no control data) 12 15
Currently we pass 8 tests. All the rest marked as TODO.
PR: kern/90800
Submitted by: Andrey Simonenko
Revision Changes Path
1.1 +7 -0 src/tools/regression/sockets/unix_cmsg/Makefile (new)
1.1 +127 -0 src/tools/regression/sockets/unix_cmsg/README (new)
1.1 +1632 -0 src/tools/regression/sockets/unix_cmsg/unix_cmsg.c (new)
1.1 +57 -0 src/tools/regression/sockets/unix_cmsg/unix_cmsg.t (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605291840.k4TIeuZn092524>
