[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YWSMaIW1JRtottET@bombadil.infradead.org>
Date: Mon, 11 Oct 2021 12:11:36 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Miroslav Benes <mbenes@...e.cz>
Cc: tj@...nel.org, gregkh@...uxfoundation.org,
akpm@...ux-foundation.org, minchan@...nel.org, jeyu@...nel.org,
shuah@...nel.org, bvanassche@....org, dan.j.williams@...el.com,
joe@...ches.com, tglx@...utronix.de, keescook@...omium.org,
rostedt@...dmis.org, linux-spdx@...r.kernel.org,
linux-doc@...r.kernel.org, linux-block@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v8 03/12] selftests: add tests_sysfs module
On Thu, Oct 07, 2021 at 04:23:22PM +0200, Miroslav Benes wrote:
> On Mon, 27 Sep 2021, Luis Chamberlain wrote:
>
> > This adds a new selftest module which can be used to test sysfs, which
> > would otherwise require using an existing driver. This lets us muck
> > with a template driver to test breaking things without affecting
> > system behaviour or requiring the dependencies of a real device
> > driver.
> >
> > A series of 28 tests are added. Support for using two device types are
> > supported:
> >
> > * misc
> > * block
>
> I suppose the selftests will run for more than 45 seconds (default
> kselftest timeout), so you probably also want to set timeout to something
> sensible in tools/testing/selftests/sysfs/settings file (0 would disable
> it).
Good catch, I'll use a default of 200, in practice for me this runs in
much less than that, about 110 seconds, so 200 should be good wiggle
room.
Luis
Powered by blists - more mailing lists