summaryrefslogtreecommitdiff
path: root/src/kernel/tests/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tests/vfs.c')
-rw-r--r--src/kernel/tests/vfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tests/vfs.c b/src/kernel/tests/vfs.c
index 8b749b4..7b353e8 100644
--- a/src/kernel/tests/vfs.c
+++ b/src/kernel/tests/vfs.c
@@ -39,8 +39,8 @@ TEST(path_simplify) {
TEST_WRAPPER("/asdf//.", "/asdf/");
TEST_WRAPPER("/foo/bar/..", "/foo/");
- TEST_WRAPPER("/foo/bar/../bar", "/foo/bar");
- TEST_WRAPPER("/foo/bar/../bar/", "/foo/bar/");
+ TEST_WRAPPER("/foo/bar/../baz", "/foo/baz");
+ TEST_WRAPPER("/foo/bar/../baz/", "/foo/baz/");
TEST_WRAPPER("/foo/bar/xyz/..", "/foo/bar/");
TEST_WRAPPER("/foo/bar/xyz/../", "/foo/bar/");