Date: Thu, 6 Mar 2014 13:02:06 -0500 From: Julio Merino <jmmv@freebsd.org> To: Alan Somers <asomers@freebsd.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Peter Holm <peter@holm.cc> Subject: Re: Test scenario for sysctl kern.maxfiles Message-ID: <CAFY7cWABkdjj68x0WFvCzFRDTUH6TF0RNd89vk-qczwthbqgxg@mail.gmail.com> In-Reply-To: <CAOtMX2gcOmWLVj6R1p4G1QCXnQWUxaYXjYv0Xq==Wr2H9A6t=Q@mail.gmail.com> References: <20140305085806.GA70478@x2.osted.lan> <CAOtMX2hUJ2Hc62bG1jitbQbiHtb8b8Jm8iWaP4VaJPuADXR=Kw@mail.gmail.com> <20140306112322.GA10664@x2.osted.lan> <CAFY7cWD1Zm8MVR70e83ZVBu1JMYiZ804FZnrMkmCuj-x=HUUvw@mail.gmail.com> <CAOtMX2gcOmWLVj6R1p4G1QCXnQWUxaYXjYv0Xq==Wr2H9A6t=Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 6, 2014 at 12:45 PM, Alan Somers <asomers@freebsd.org> wrote: > I suggest the more specific name "allow_sysctl_side_effects". As I > continue to add tests, config variables like this will become more > important. In particular, I have some tests that create and destroy > zpools, some that can cause panics, some that load modules, etc. > Before I can upstream all of them, we'll need to agree on a consistent > set of config variables that control test case execution. I haven't > put much thought into it yet. Sure; more granularity++. I haven't put any thought on this though so please propose something :) Whatever we decide, 1) these variables need to be documented in tests(7), 2) a ready-to-enable template in ports/devel/kyua-cli/files/kyua.conf.in about them would be beneficial and 3) src/projects/jmmv/autotest/ should switch these on. > How does NetBSD handle tests that have > potentially harmful side effects? They don't AFAIK. The thing is that not that many tests have side-effects because the majority of kernel-level tests use rump to avoid this problem and be more reliable/deterministic. The few that have side-effects have ad-hoc cleanup routines.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFY7cWABkdjj68x0WFvCzFRDTUH6TF0RNd89vk-qczwthbqgxg>