From owner-cvs-src@FreeBSD.ORG Sat Feb 12 19:35:20 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42D8916A4CE; Sat, 12 Feb 2005 19:35:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 253E243D41; Sat, 12 Feb 2005 19:35:20 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1CJZKaA016842; Sat, 12 Feb 2005 19:35:20 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1CJZKfi016841; Sat, 12 Feb 2005 19:35:20 GMT (envelope-from rwatson) Message-Id: <200502121935.j1CJZKfi016841@repoman.freebsd.org> From: Robert Watson Date: Sat, 12 Feb 2005 19:35:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/tools/regression/sockets/accept_fd_leak accept_fd_leak.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 19:35:20 -0000 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