Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 10:15:26 -0600 (MDT)
From:      Warner Losh <imp@bsdimp.com>
To:        rwatson@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, alfred@FreeBSD.org, andre@FreeBSD.org, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <20070522.101526.78768763.imp@bsdimp.com>
In-Reply-To: <20070522112825.U50138@fledge.watson.org>
References:  <200705192051.l4JKp0rF074703@repoman.freebsd.org> <20070522003856.GX21795@elvis.mu.org> <20070522112825.U50138@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, 21 May 2007, Alfred Perlstein wrote:
> 
> > Is this the same bug that used to be in sendfile but got corrected some 
> > years back?
> 
> Dunno, but it sounds like we really need a comprehensive set of edge-case 
> tests for sendfile.

There are those that advocate writing a test case that fails, then
fixing the code until the test case succeeds, then committing the test
case to the test-bed at the same time the code is committed to the
tree.  With the test-case gating the code.

This works well for some thing, but we can't do it universally since
some test-cases would be only for 'rogue' hardware, which can't be
automatically tested.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522.101526.78768763.imp>