Commit Graph
3 Commits
Author SHA1 Message Date
Christian Brauner 3ac7ea91f3 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/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
2026-03-12 13:33:54 +01:00
Christian Brauner be1ca3ee8f selftests/statmount: add statmount_alloc() helper
Add a helper to allocate a statmount buffer and call statmount(). This
helper will be shared by multiple test suites that need to query mount
information via statmount().

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
2026-03-12 13:33:54 +01:00
Christian Brauner b8f7622aa6 selftests/open_tree: add OPEN_TREE_NAMESPACE tests
Add tests for OPEN_TREE_NAMESPACE.

Link: https://patch.msgid.link/[email protected]
Tested-by: Jeff Layton <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
2026-01-16 19:21:40 +01:00