]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: add FSMOUNT_NAMESPACE tests
authorChristian Brauner <brauner@kernel.org>
Thu, 22 Jan 2026 10:48:51 +0000 (11:48 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 12 Mar 2026 12:33:54 +0000 (13:33 +0100)
commit3ac7ea91f3d0442caf6b079e1ddc80e06b079ff9
tree7695dea613d8ec98daa1aa3b198e10280d4c5b45
parentbe1ca3ee8f97067fee87fda73ea5959d5ab75bbf
selftests: add FSMOUNT_NAMESPACE tests

Add selftests for FSMOUNT_NAMESPACE which creates a new mount namespace
with the newly created filesystem mounted onto a copy of the real
rootfs.

Link: https://patch.msgid.link/20260122-work-fsmount-namespace-v1-6-5ef0a886e646@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/fsmount_ns/.gitignore [new file with mode: 0644]
tools/testing/selftests/filesystems/fsmount_ns/Makefile [new file with mode: 0644]
tools/testing/selftests/filesystems/fsmount_ns/fsmount_ns_test.c [new file with mode: 0644]
tools/testing/selftests/filesystems/open_tree_ns/Makefile
tools/testing/selftests/filesystems/open_tree_ns/open_tree_ns_test.c