Drop /dev test in test-mountpoint-util
Even /dev isn't always guaranteed to be a mount point, so let's drop this part of the test.
This commit is contained in:
committed by
Yu Watanabe
parent
2c6c2b893b
commit
bacad14f94
@@ -138,11 +138,6 @@ TEST(path_is_mount_point) {
|
||||
assert_se(path_is_mount_point("/proc/1/", NULL, AT_SYMLINK_FOLLOW) == 0);
|
||||
assert_se(path_is_mount_point("/proc/1/", NULL, 0) == 0);
|
||||
|
||||
assert_se(path_is_mount_point("/dev", NULL, AT_SYMLINK_FOLLOW) > 0);
|
||||
assert_se(path_is_mount_point("/dev", NULL, 0) > 0);
|
||||
assert_se(path_is_mount_point("/dev/", NULL, AT_SYMLINK_FOLLOW) > 0);
|
||||
assert_se(path_is_mount_point("/dev/", NULL, 0) > 0);
|
||||
|
||||
/* we'll create a hierarchy of different kinds of dir/file/link
|
||||
* layouts:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user