lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230906122822.0ecef430@gandalf.local.home>
Date:   Wed, 6 Sep 2023 12:28:22 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Mark Brown <broonie@...nel.org>
Cc:     Beau Belgrave <beaub@...ux.microsoft.com>,
        Naresh Kamboju <naresh.kamboju@...aro.org>,
        "open list:KERNEL SELFTEST FRAMEWORK" 
        <linux-kselftest@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        lkft-triage@...ts.linaro.org, Shuah Khan <shuah@...nel.org>,
        Masami Hiramatsu <mhiramat@...nel.org>,
        Arnd Bergmann <arnd@...db.de>,
        Anders Roxell <anders.roxell@...aro.org>
Subject: Re: selftests: user_events: Test terminated by assertion

On Wed, 6 Sep 2023 17:02:19 +0100
Mark Brown <broonie@...nel.org> wrote:

> On Wed, Sep 06, 2023 at 08:39:22AM -0700, Beau Belgrave wrote:
> 
> > What is the expected behavior of self tests if run without their
> > feature enabled? Is it expected these should skip vs fail in that case?  
> 
> Yes, tests should skip if preconditions for running them aren't met.

Yep, see how the ftrace selftests run. If it is determined that the feature
is not present, it simple returns UNSUPPORTED and not FAILED.

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ