]> Savannah Git Hosting - gnulib.git/commitdiff
c32isblank tests: Avoid test failure on NetBSD 10.0.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Jun 2024 19:03:39 +0000 (21:03 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Jun 2024 15:06:01 +0000 (17:06 +0200)
* tests/test-c32isblank.c (main): Disable test of '\f', that fails in
the fr_FR.UTF-8 locale.

ChangeLog
tests/test-c32isblank.c

index d870fdb1487fed886cf5f9b7aa2beed086c67efc..faf496dfb14c31d53f8c0fe8812e2b80af468b7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-08  Bruno Haible  <bruno@clisp.org>
+
+       c32isblank tests: Avoid test failure on NetBSD 10.0.
+       * tests/test-c32isblank.c (main): Disable test of '\f', that fails in
+       the fr_FR.UTF-8 locale.
+
 2024-06-11  Paul Eggert  <eggert@cs.ucla.edu>
 
        mktempd: use GNU-style -t if available
index 71ab86f46a31ac1a852faf2e4a50bbc81a852e42..d7ebf3f21f86772eb733e55a290f070efc701dc1 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of c32isblank() function.
-   Copyright (C) 2020-2023 Free Software Foundation, Inc.
+   Copyright (C) 2020-2024 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -77,7 +77,9 @@ main (int argc, char *argv[])
         #if !(defined __FreeBSD__ || defined __NetBSD__)
         case '\v':
         #endif
+        #if !defined __NetBSD__
         case '\f':
+        #endif
         case ' ': case '!': case '"': case '#': case '%':
         case '&': case '\'': case '(': case ')': case '*':
         case '+': case ',': case '-': case '.': case '/':