]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: don't skip tests for unimplemented syscalls anymore
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 4 Jan 2026 15:14:42 +0000 (16:14 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 7 Apr 2026 07:29:26 +0000 (09:29 +0200)
commit598b670af347bc8d998866b1e795e40a3bb168de
tree339709e8214be7094ea483e272018e123ae85942
parent9a5206f2564128ada61ba1d29aeafa0a439dca00
selftests/nolibc: don't skip tests for unimplemented syscalls anymore

The automatic skipping of tests on ENOSYS returns was introduced in
commit 349afc8a52f8 ("selftests/nolibc: skip tests for unimplemented
syscalls"). It handled the fact that nolibc would return ENOSYS for many
syscall wrappers on riscv32.

Nowadays nolibc handles all these correctly, so this logic is not used
anymore. To make missing nolibc functionality more obvious fail the
tests again if something is not implemented.

Revert the mentioned commit again.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260406-nolibc-no-skip-enosys-v1-2-c046b1ac7d73@weissschuh.net/
tools/testing/selftests/nolibc/nolibc-test.c