From 1226d6caee05165b0b26f1d839625291482fd4e9 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Wed, 17 Jan 2024 02:20:47 +0100 Subject: [PATCH] Eina test: remove POSIX path from sanitize test The POSIX path "/home/mydir/../myfile" can't be tested on Windows. In MSYS2, /home is replaced with the installation path os MSYS2, that is something like C:\foo\bar (depending on the value of the path given with the MSYS2 installer). So this can't be tested with the value "/home/myfile". --- src/tests/eina/eina_test_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/eina/eina_test_file.c b/src/tests/eina/eina_test_file.c index 3e12206094..0c71600360 100644 --- a/src/tests/eina/eina_test_file.c +++ b/src/tests/eina/eina_test_file.c @@ -551,8 +551,9 @@ static const struct { { "C:\\home\\mydir\\..\\myfile", "C:/home/myfile" }, { "C:/home/mydir/../myfile", "C:/home/myfile" }, { "\\home\\mydir\\..\\myfile", "/home/myfile" }, -#endif +#else { "/home/mydir/../myfile", "/home/myfile" } +#endif }; EFL_START_TEST(eina_test_file_path)