From 92e04cd721b497a6483a121f58ac15aa53325910 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 28 Aug 2026 20:21:18 +0200 Subject: fixup! kernel/vfs: mount: resolve return type todo --- kernel/kernel/vfs.tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel') 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") -- cgit v1.2.3