aboutsummaryrefslogtreecommitdiff
path: root/kernel/kernel/vfs.tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel/vfs.tests.cpp')
-rw-r--r--kernel/kernel/vfs.tests.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/kernel/kernel/vfs.tests.cpp b/kernel/kernel/vfs.tests.cpp
index 0c807082..f766a992 100644
--- a/kernel/kernel/vfs.tests.cpp
+++ b/kernel/kernel/vfs.tests.cpp
@@ -238,28 +238,6 @@ SCENARIO_METHOD(kernel::tests::vfs::storage_boot_module_vfs_fixture, "VFS with f
REQUIRE(dev_ram_32 != nullptr);
}
- THEN("boot root can be unmounted and remounted again but /dev is not re-grafted")
- {
- auto info_1 = vfs.open("/information/info_1.txt");
- REQUIRE(info_1 != nullptr);
-
- REQUIRE(vfs.close(info_1.value()->absolute_path()));
-
- REQUIRE(vfs.unmount("/dev"));
- REQUIRE(vfs.unmount("/"));
-
- info_1 = vfs.open("/information/info_1.txt");
- REQUIRE(info_1.error() == kstd::errc::no_such_file_or_directory);
-
- REQUIRE(vfs.mount("/dev/ram0", "/"));
-
- info_1 = vfs.open("/information/info_1.txt");
- REQUIRE(info_1 != nullptr);
-
- auto dev_ram_0 = vfs.open("/dev/ram0");
- REQUIRE(dev_ram_0.error() == kstd::errc::no_such_file_or_directory);
- }
-
THEN("mount with null file system fails")
{
REQUIRE(vfs.mount("/closed.txt", "/information").error() == kstd::errc::not_supported);