cvs commit: src/tools/regression/netinet/ipsockopt ipsockopt.c

Robert Watson rwatson at FreeBSD.org
Mon Oct 11 12:03:53 PDT 2004


rwatson     2004-10-11 19:03:53 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/netinet/ipsockopt ipsockopt.c 
  Log:
  A number of improvements to the IP socket option API regression test:
  
  - Consistently use err/errx/warnx throughout, rather than using perror()
    and exit().
  
  - Teach the tests how to better manage (and therefore test) privilege:
    in particular, how to create sockes with root credentials but exercise
    the privileges with non-root credentials, etc.
  
  - Teach the test suite to apply each of the non-IP_HDRINCL options across
    each of SOCK_DGRAM, SOCK_STREAM, and SOCK_RAW.
  
  Revision  Changes    Path
  1.2       +360 -251  src/tools/regression/netinet/ipsockopt/ipsockopt.c


More information about the cvs-src mailing list