linux/tools/testing/selftests/filesystems/statmount
Miklos Szeredi 2cc02059fb
selftests: always check mask returned by statmount(2)
STATMOUNT_MNT_OPTS can actually be missing if there are no options.  This
is a change of behavior since 75ead69a71 ("fs: don't let statmount return
empty strings").

The other checks shouldn't actually trigger, but add them for correctness
and for easier debugging if the test fails.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Link: https://lore.kernel.org/r/20250129160641.35485-1-mszeredi@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-02-07 10:27:26 +01:00
..
.gitignore selftests/filesystems: Add missing gitignore file 2025-01-14 17:06:31 -07:00
Makefile selftests: add listmount() iteration tests 2025-01-09 16:58:54 +01:00
listmount_test.c selftests: add listmount() iteration tests 2025-01-09 16:58:54 +01:00
statmount.h selftests: add a test for the foreign mnt ns extensions 2024-06-28 14:36:42 +02:00
statmount_test.c selftests: always check mask returned by statmount(2) 2025-02-07 10:27:26 +01:00
statmount_test_ns.c selftests: filesystems: fix warn_unused_result build warnings 2024-09-03 11:42:55 -06:00