cvs commit: src/tools/regression/sockets/unix_cmsg Makefile README unix_cmsg.c unix_cmsg.t

Maxim Konovalov maxim at FreeBSD.org
Mon May 29 11:42:11 PDT 2006


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)


More information about the cvs-src mailing list