This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit 1226d6caee05165b0b26f1d839625291482fd4e9
Author: Vincent Torri <vto...@outlook.fr>
AuthorDate: Wed Jan 17 02:20:47 2024 +0100
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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.