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] [day] [month] [year] [list]
Message-ID: <871pjac3a0.ffs@tglx>
Date: Tue, 27 Jan 2026 19:35:19 +0100
From: Thomas Gleixner <tglx@...nel.org>
To: Yuwen Chen <ywen.chen@...mail.com>, bigeasy@...utronix.de, wakel@...gle.com
Cc: andrealmeid@...lia.com, colin.i.king@...il.com, dave@...olabs.net,
 dvhart@...radead.org, edliaw@...gle.com, justinstitt@...gle.com,
 kernel-team@...roid.com, licayy@...mail.com, linux-kernel@...r.kernel.org,
 linux-kselftest@...r.kernel.org, luto@....edu, mingo@...hat.com,
 morbo@...gle.com, nathan@...nel.org, ndesaulniers@...gle.com,
 peterz@...radead.org, shuah@...nel.org, usama.anjum@...labora.com, Yuwen
 Chen <ywen.chen@...mail.com>
Subject: Re: [PATCH] selftests/futex: fix incorrect result reporting of
 futex_requeue test item

On Tue, Jan 27 2026 at 15:37, Yuwen Chen wrote:
> When using the TEST_HARNESS_MAIN macro definition to declare the main
> function, you need to use the EXPECT_ and ASSERT_ series of functions in
> conjunction. Otherwise, even if a test item fails, the test will still
> return a success result.
>
> When adding a delay in waiterfn to artificially create an incorrect test
> result, the test item has actually failed. However, the output still
> indicates that the test has passed:

This is an actual fix and wants to go _before_ adding hacks to solve the
my system is too busy to start a thread in 10 seconds "problem".

Thanks,

        tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ