Date: Sat, 12 Feb 2005 19:35:20 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/sockets/accept_fd_leak accept_fd_leak.c Message-ID: <200502121935.j1CJZKfi016841@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502121935.j1CJZKfi016841>