summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-18 09:51:21 +0200
committerBruno Haible <bruno@clisp.org>2023-04-18 12:03:40 +0200
commit4898479747ac2e8a90cfafcfeba967dbde9fcb64 (patch)
tree60884f0e40f536cac309706f7e59cdf8dc8bdabc /tests
parent2c70f90798420c81eaf4a100d0fa5c6ab5771bcb (diff)
downloadgnulib-4898479747ac2e8a90cfafcfeba967dbde9fcb64.tar.gz
c32isgraph: Avoid test failure on Cygwin 3.4.6.
* tests/test-c32isgraph.c (main): Skip U+00A0 test on Cygwin.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-c32isgraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-c32isgraph.c b/tests/test-c32isgraph.c
index 8b10919884..31e0838d19 100644
--- a/tests/test-c32isgraph.c
+++ b/tests/test-c32isgraph.c
@@ -119,7 +119,7 @@ main (int argc, char *argv[])
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\240", 1);
ASSERT (is != 0);
@@ -155,7 +155,7 @@ main (int argc, char *argv[])
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\302\240", 2);
ASSERT (is != 0);