cvs commit: src/tools/regression/sockets/accept_fd_leak accept_fd_leak.c

Robert Watson rwatson at FreeBSD.org
Sat Feb 12 19:35:20 GMT 2005


rwatson     2005-02-12 19:35:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    tools/regression/sockets/accept_fd_leak accept_fd_leak.c 
  Log:
  Merge accept_fd_leak.c:1.2-1.5 from HEAD to RELENG_5; changes to introduce
  a .t file are not included:
  
    date: 2004/08/24 04:59:26;  author: rwatson;  state: Exp;  lines: +1 -0
    Make sure to properly initialize 'size' to sizeof(sin) before passing
    it into accept().  Depending on the initial value in memory, it is
    otherwise possible to get EINVAL.
  
    date: 2004/09/18 13:06:00;  author: rwatson;  state: Exp;  lines: +3 -2
    Modify accept_fd_leak regression test to generate "PASS" output, not
    just "FAIL" output, in order to make it consistent with other tests in
    the regression test tree.
  
    date: 2004/10/23 22:11:35;  author: rwatson;  state: Exp;  lines: +24 -44
    Use errx() instead of perror()/exit() for conciseness.
  
    Suggested by:   ru (some time ago)
  
    date: 2004/11/11 19:47:53;  author: nik;  state: Exp;  lines: +4 -2
    Switch over to a different, more flexible test output protocol that's
    understood by Perl's Test::Harness module and prove(1) commands.
  
    Update README to describe the new protocol.  The work's broken down into
    two main sets of changes.
  
    First, update the existing test programs (shell scripts and C programs)
    to produce output in the ok/not ok format, and to, where possible, also
    produce a header describing the number of tests that are expected to be
    run.
  
  Revision  Changes    Path
  1.1.2.1   +28 -44    src/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c


More information about the cvs-src mailing list