From owner-cvs-src@FreeBSD.ORG Mon Oct 11 19:03:53 2004 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 7AC0316A4CE; Mon, 11 Oct 2004 19:03:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70E9D43D3F; Mon, 11 Oct 2004 19:03:53 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9BJ3rM1081936; Mon, 11 Oct 2004 19:03:53 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9BJ3rd0081935; Mon, 11 Oct 2004 19:03:53 GMT (envelope-from rwatson) Message-Id: <200410111903.i9BJ3rd0081935@repoman.freebsd.org> From: Robert Watson Date: Mon, 11 Oct 2004 19:03:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/netinet/ipsockopt ipsockopt.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: Mon, 11 Oct 2004 19:03:53 -0000 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