On 25 September 2012 21:11, Garrett Cooper <yaneg...@gmail.com> wrote: > On Tue, Sep 25, 2012 at 5:25 PM, Ed Maste <ema...@freebsd.org> wrote: >> Author: emaste >> Date: Wed Sep 26 00:25:09 2012 >> New Revision: 240944 >> URL: http://svn.freebsd.org/changeset/base/240944 ... > This test is technically only valid if sysctl > kern.features.invariant_support == 1, right?
It's only possible to prove that the bug described in kern/172075 is fixed if kern.features.invariant_support == 1, yes. Without invariants though the test still verifies that a tap(4) device can be properly destroyed when open and not. I have another change coming that will cause cat(1) to terminate immediately when the device is destroyed, and this script will become a valid test of that behaviour with or without INVARIANTS. Ideally the script would report pass or fail for the individual tap(4) create and destroy invocations, and separately pass or unsupported for kern/172075 based on kern.features.invariant_support. I'd like to figure out how to implement that once our test framework is in place. -Ed _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"