diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c index 5dcec9658d..40b12dd088 100644 --- a/src/test/test-mountpoint-util.c +++ b/src/test/test-mountpoint-util.c @@ -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: *