mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
25 lines
684 B
Text
25 lines
684 B
Text
This will only fail on aarch64 and s390x, for some reason.
|
|
--- a/src/test/test_util.c
|
|
+++ b/src/test/test_util.c
|
|
@@ -4611,21 +4611,6 @@ test_util_glob(void *ptr)
|
|
TEST("file1"PATH_SEPARATOR"*");
|
|
EXPECT_EMPTY();
|
|
|
|
-#ifndef _WIN32
|
|
- // test wildcard escaping
|
|
- TEST("\\*");
|
|
- EXPECT_EMPTY();
|
|
-
|
|
- if (getuid() != 0) {
|
|
- // test forbidden directory, if we're not root.
|
|
- // (Root will be able to see this directory anyway.)
|
|
- tor_asprintf(&pattern, "%s"PATH_SEPARATOR"*"PATH_SEPARATOR"*", dirname);
|
|
- results = tor_glob(pattern);
|
|
- tor_free(pattern);
|
|
- tt_assert(!results);
|
|
- }
|
|
-#endif /* !defined(_WIN32) */
|
|
-
|
|
#undef TEST
|
|
#undef EXPECT
|
|
#undef EXPECT_EMPTY
|