From: Bruno Haible Date: Mon, 7 Jan 2008 22:29:52 +0000 (+0100) Subject: Relax test, so that it passes on older glibc systems. X-Git-Tag: v0.1~7878 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=aa9089a1a26a2f012bb4392b9ee91e5e12667ab3;p=gnulib.git Relax test, so that it passes on older glibc systems. --- diff --git a/ChangeLog b/ChangeLog index bdc357aca..ca56feee8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-01 Bruno Haible + + * tests/test-wcwidth.c (main): Relax test of U+2060. Avoids a test + failure on older glibc systems. + Reported by Peter Fales . + 2008-01-05 Eric Blake Avoid quadratic system memmem. diff --git a/tests/test-wcwidth.c b/tests/test-wcwidth.c index 0c3c0047b..fe1094f02 100644 --- a/tests/test-wcwidth.c +++ b/tests/test-wcwidth.c @@ -1,5 +1,5 @@ /* Test of wcwidth() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 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 @@ -57,7 +57,7 @@ main () /* Test width of some format control characters. */ ASSERT (wcwidth (0x200E) <= 0); - ASSERT (wcwidth (0x2060) == 0); + ASSERT (wcwidth (0x2060) <= 0); #if 0 /* wchar_t may be only 16 bits. */ ASSERT (wcwidth (0xE0001) <= 0); ASSERT (wcwidth (0xE0044) <= 0);