From owner-cvs-all@FreeBSD.ORG Fri Mar 11 12:47:15 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F3AF16A4CF; Fri, 11 Mar 2005 12:47:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE89143D1D; Fri, 11 Mar 2005 12:47:14 +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 j2BClEVk002789; Fri, 11 Mar 2005 12:47:14 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2BClE4V002788; Fri, 11 Mar 2005 12:47:14 GMT (envelope-from rwatson) Message-Id: <200503111247.j2BClE4V002788@repoman.freebsd.org> From: Robert Watson Date: Fri, 11 Mar 2005 12:47:14 +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/sockets/sigpipe Makefile sigpipe.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 12:47:15 -0000 rwatson 2005-03-11 12:47:14 UTC FreeBSD src repository Added files: tools/regression/sockets/sigpipe Makefile sigpipe.c Log: Add sigpipe, a simple UNIX domain socket and TCP regression test that is intended to verify that SIGPIPE is delivered to a process writing or sending on a socket that has been shut down for write. If available, SO_NOSIGPIPE is also tested. This regression test is currently passed by RELENG_4, but not by HEAD or RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not present in RELENG_4, however, so is not tested there. Reported by: Mikko Tyolajarvi PR: 78478 Revision Changes Path 1.1 +9 -0 src/tools/regression/sockets/sigpipe/Makefile (new) 1.1 +318 -0 src/tools/regression/sockets/sigpipe/sigpipe.c (new)