[Devel] [PATCH hci-8.1 1/3] selftests: harness: run the fixture teardown after a failed ASSERT
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Nov 13 22:57:56 MSK 2026
Applying with these fixes on my side:
- "With -O2 it comes back as 1" -> "With -O2 it can come back as 1"
- "which was a large rewrite, and out of scope for this series" ->
"which depends on earlier harness changes missing here"
- added: Fixes: 0710a1a73fb4 ("selftests/harness: Merge TEST_F_FORK()
into TEST_F()")
On Fri, 13 Nov 2026 06:19:58 +0200, Eva Kurchatova wrote:
> indeterminate. With -O2 it comes back as 1, its value at setjmp(): the
Why: the value is indeterminate by the standard, what -O2 returns
depends on where the compiler keeps child.
> ("selftests: harness: Stop using setjmp()/longjmp()"), which was a
> large rewrite, and out of scope for this series.
Why: 869c788909b9 itself is small, but it needs several earlier
harness commits that this tree does not have.
> https://virtuozzo.atlassian.net/browse/VSTOR-154520
Why the tag: 0710a1a73fb4 is the commit that sets child between
setjmp() and longjmp() and reads it after the jump.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list