From 88272c0fe5aca0bcdb60aeb1b4d5f4cf1c9a47b4 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 3 Jun 2018 23:54:32 +0900 Subject: path-util: make path_make_relative() support path including dots --- src/test/test-path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c index 80bca48e0..d0f7a5772 100644 --- a/src/test/test-path-util.c +++ b/src/test/test-path-util.c @@ -287,7 +287,7 @@ static void test_make_relative(void) { test("/some/path", "/", "../.."); test("/some/path", "/some/other/path", "../other/path"); test("/some/path/./dot", "/some/further/path", "../../further/path"); - test("//extra/////slashes///won't////fool///anybody//", "////extra///slashes////are/just///fine///", "../../../are/just/fine"); + test("//extra.//.//./.slashes//./won't////fo.ol///anybody//", "/././/extra././/.slashes////ar.e/.just/././.fine///", "../../../ar.e/.just/.fine"); } #endif // 0 -- cgit v1.2.3