From: Bruno Haible Date: Wed, 15 Oct 2025 14:30:10 +0000 (+0200) Subject: glob tests: Avoid a test failure on native Windows. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19ef6a04343481e631b68d7474ed76874fc3f910;p=thirdparty%2Fgnulib.git glob tests: Avoid a test failure on native Windows. * tests/test-glob.c (main): Disable the new test cases on native Windows. --- diff --git a/ChangeLog b/ChangeLog index e42473c1d4..c1e2c0f7e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-10-15 Bruno Haible + + glob tests: Avoid a test failure on native Windows. + * tests/test-glob.c (main): Disable the new test cases on native + Windows. + 2025-10-15 Bruno Haible glob: Fix test failure on Cygwin. diff --git a/tests/test-glob.c b/tests/test-glob.c index 7b3439b6cd..23dda01291 100644 --- a/tests/test-glob.c +++ b/tests/test-glob.c @@ -95,6 +95,7 @@ main () globfree (&g); } +#if !(defined _WIN32 && !defined __CYGWIN__) /* Check for a glibc 2.42 bug where recursive calls cause the stack to overflow. Test cases based on the following: . @@ -119,6 +120,7 @@ main () free (pattern); } +#endif return test_exit_status; }