diff options
Diffstat (limited to 'src/kernel/tests/vfs.c')
-rw-r--r-- | src/kernel/tests/vfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/tests/vfs.c b/src/kernel/tests/vfs.c index cfbf86b..0871f92 100644 --- a/src/kernel/tests/vfs.c +++ b/src/kernel/tests/vfs.c @@ -70,7 +70,7 @@ TEST(vfs_mount_resolve) { mount = mount2; \ } while (0) - ADD_MOUNT("/"); + ADD_MOUNT(""); // root mount ADD_MOUNT("/dir/shadowed"); ADD_MOUNT("/dir"); @@ -82,10 +82,10 @@ TEST(vfs_mount_resolve) { && (0 == memcmp(mount2->prefix, expected, mount2->prefix_len))); \ } while (0) - TEST_WRAPPER("/", "/"); - TEST_WRAPPER("/test", "/"); + TEST_WRAPPER("/", ""); + TEST_WRAPPER("/test", ""); TEST_WRAPPER("/dir", "/dir"); - TEST_WRAPPER("/dirry", "/"); + TEST_WRAPPER("/dirry", ""); TEST_WRAPPER("/dir/", "/dir"); TEST_WRAPPER("/dir/shadowed", "/dir"); TEST_WRAPPER("/dir/shadowed/", "/dir"); |