cvs commit: src/sys/kern uipc_syscalls.c

Warner Losh imp at bsdimp.com
Tue May 22 16:18:45 UTC 2007


> 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


More information about the cvs-src mailing list