aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-08-28 20:21:18 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-08-28 20:21:18 +0200
commit92e04cd721b497a6483a121f58ac15aa53325910 (patch)
tree89646c54f40b9986f83117b08e7fc55996a0002a
parent662f5870a878ed29821fd82751629a8a0dd9041f (diff)
downloadkernel-92e04cd721b497a6483a121f58ac15aa53325910.tar.xz
kernel-92e04cd721b497a6483a121f58ac15aa53325910.zip
fixup! kernel/vfs: mount: resolve return type todo
-rw-r--r--kernel/kernel/vfs.tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kernel/vfs.tests.cpp b/kernel/kernel/vfs.tests.cpp
index 475daf2d..0c807082 100644
--- a/kernel/kernel/vfs.tests.cpp
+++ b/kernel/kernel/vfs.tests.cpp
@@ -284,12 +284,12 @@ SCENARIO_METHOD(kernel::tests::vfs::storage_boot_module_vfs_fixture, "VFS with f
THEN("unmount with invalid path fails")
{
REQUIRE(vfs.unmount("").error() == kstd::errc::invalid_argument);
- REQUIRE(vfs.unmount("information").error() == kstd::errc::no_such_file_or_directory);
+ REQUIRE(vfs.unmount("information").error() == kstd::errc::not_connected);
}
THEN("unmounting non-existent mount point returns expected error code")
{
- REQUIRE(vfs.unmount("/information/nonexistent").error() == kstd::errc::no_such_file_or_directory);
+ REQUIRE(vfs.unmount("/information/nonexistent").error() == kstd::errc::not_connected);
}
THEN("a file can be access if . in the path")