]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: add a test for stat().st_rdev
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 4 Apr 2026 08:08:19 +0000 (10:08 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Sat, 4 Apr 2026 08:28:44 +0000 (10:28 +0200)
commit5afc7e9b90b82e0c43615dcf2ff0559909714d83
tree47d454a03326d5008cecd96140e110e083096502
parent9c0ff257fbbe7f42a81c7b4eeefe8dfc9e8f52b3
selftests/nolibc: add a test for stat().st_rdev

The handling of 'dev_t' values is about to be changed.

Add a test to make sure they are returned correctly from stat().

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260404-nolibc-makedev-v2-2-456a429bf60c@weissschuh.net
tools/testing/selftests/nolibc/nolibc-test.c