Date: Thu, 26 Aug 2004 15:46:11 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: green@freebsd.org Cc: phk@phk.freebsd.dk Subject: Re: cvs commit: src/sys/geom/concat g_concat.c src/sys/geom/label g_label.c src/sys/geom/mirror g_mirror.c src/sys/geom/raid3 g_raid3.c src/sys/geom/stripe g_stripe.c Message-ID: <20040826.154611.56055412.imp@bsdimp.com> In-Reply-To: <20040826201531.GQ77326@green.homeunix.org> References: <20040826200728.GP77326@green.homeunix.org> <66211.1093550956@critter.freebsd.dk> <20040826201531.GQ77326@green.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040826201531.GQ77326@green.homeunix.org> Brian Fundakowski Feldman <green@freebsd.org> writes: : On Thu, Aug 26, 2004 at 10:09:16PM +0200, Poul-Henning Kamp wrote: : > In message <20040826200728.GP77326@green.homeunix.org>, Brian Fundakowski Feldm : > an writes: : > : > >> They have been very successful in this respect, and more will be : > >> added as I think them up. : > > : > >Why in the world would you crash the machine when you don't have to? : > : > To prevent bogus code from being committed in the first place. : > : > Presumably if people can not make their code work because it panics : > they will not commit it. : : You cannot presume testing will expose every possible state/condition. : It hasn't in FreeBSD's past, but maybe you can start a revolution that : makes it simple to create very complete test suites and put them into : the tree along with the code being tested. I beg to differ. newbus has lots of asserts in it that could be recovered from, but instead are panics. These panics have been very helpful in shaking out bugs (much to the annoyance of the person doing the work until the bugs were figured out). Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040826.154611.56055412.imp>