From owner-cvs-all@FreeBSD.ORG Mon Sep 12 17:05:49 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 56BC516A41F; Mon, 12 Sep 2005 17:05:49 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 295E043D49; Mon, 12 Sep 2005 17:05:49 +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 j8CH5mU1067231; Mon, 12 Sep 2005 17:05:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8CH5mRg067230; Mon, 12 Sep 2005 17:05:48 GMT (envelope-from rwatson) Message-Id: <200509121705.j8CH5mRg067230@repoman.freebsd.org> From: Robert Watson Date: Mon, 12 Sep 2005 17:05:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/regression/fifo/fifo_io fifo_io.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 12 Sep 2005 17:05:49 -0000 rwatson 2005-09-12 17:05:48 UTC FreeBSD src repository Modified files: tools/regression/fifo/fifo_io fifo_io.c Log: Further updates to fifo_io regression test: - Teach fifo_io about kqueue monitoring of fifo file descriptor status, and add test cases for kqueue to match existing case for poll and select. Add a new cleanup routine, cleanfifokq(), for use in tests that use kqueues. kqueue_setup() sets up kqueue sessions, and kqueue_status() returns file descriptor status. - Correct a bug in select handling relating to the nfds argument, which was incorrect so resulted in select occuring on the wrong file descriptor, and possible false positive/negative results. - Clarify error reporting in one byte write+read tests to distinguish errors in the after case from the before case. Revision Changes Path 1.3 +287 -61 src/tools/regression/fifo/fifo_io/fifo_io.c