]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
glob tests: Avoid a test failure on native Windows.
authorBruno Haible <bruno@clisp.org>
Wed, 15 Oct 2025 14:30:10 +0000 (16:30 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Oct 2025 14:30:10 +0000 (16:30 +0200)
* tests/test-glob.c (main): Disable the new test cases on native
Windows.

ChangeLog
tests/test-glob.c

index e42473c1d430bde84ba6a26330abcf29721b929f..c1e2c0f7e4c6e56b88ec205c665fc9d4875ba765 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-10-15  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        glob: Fix test failure on Cygwin.
index 7b3439b6cd0f223abff5d13a3fca9bfcbe797f25..23dda0129170e5edb483d1c38395f43af92eca79 100644 (file)
@@ -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:
      <https://sourceware.org/PR30635>.
@@ -119,6 +120,7 @@ main ()
 
       free (pattern);
     }
+#endif
 
   return test_exit_status;
 }