diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-08-28 20:21:18 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-08-28 20:21:18 +0200 |
| commit | 92e04cd721b497a6483a121f58ac15aa53325910 (patch) | |
| tree | 89646c54f40b9986f83117b08e7fc55996a0002a /kernel | |
| parent | 662f5870a878ed29821fd82751629a8a0dd9041f (diff) | |
| download | kernel-92e04cd721b497a6483a121f58ac15aa53325910.tar.xz kernel-92e04cd721b497a6483a121f58ac15aa53325910.zip | |
fixup! kernel/vfs: mount: resolve return type todo
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/kernel/vfs.tests.cpp | 4 |
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") |
