]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: test open mode handling
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 14 May 2026 12:05:14 +0000 (14:05 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 14 May 2026 15:41:22 +0000 (17:41 +0200)
commit2ee39c5fb3a0cdc5da5026e78718ac7d92ea48c4
treeca2d396dd2c07bc8a41e7e545973886dc9f75707
parent219d120c195e53dd33076be05641fda0e36bff37
selftests/nolibc: test open mode handling

Add a selftest for the new O_TMPFILE open mode handling.
While O_CREAT or openat() are not tested, the code is the same,
so assume these also work.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260514-nolibc-open-tmpfile-v2-4-b4c6c5efa266@weissschuh.net
tools/testing/selftests/nolibc/nolibc-test.c