Home
last modified time | relevance | path

Searched refs:is_shared_mount (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c311 static bool is_shared_mount(const char *path) in is_shared_mount() function
621 ASSERT_EQ(is_shared_mount("/mnt/A"), true); in TEST_F()
626 ASSERT_EQ(is_shared_mount("/mnt/A/AA"), true); in TEST_F()
631 ASSERT_EQ(is_shared_mount("/mnt/A/AA/B"), true); in TEST_F()
636 ASSERT_EQ(is_shared_mount("/mnt/A/AA/B/BB"), true); in TEST_F()
651 ASSERT_EQ(is_shared_mount("/mnt/A"), true); in TEST_F()
656 ASSERT_EQ(is_shared_mount("/mnt/A/AA"), true); in TEST_F()
661 ASSERT_EQ(is_shared_mount("/mnt/A/AA/B"), true); in TEST_F()
666 ASSERT_EQ(is_shared_mount("/mnt/A/AA/B/BB"), true); in TEST_F()
700 ASSERT_EQ(is_shared_mount("/mnt/A"), false); in TEST_F()
[all …]
/linux-6.1.9/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c149 static bool is_shared_mount(const char *path) in is_shared_mount() function
372 ASSERT_EQ(is_shared_mount(SET_GROUP_A), 1); in TEST_F()