Mercurial > hg > octave-kai > gnulib-hg
diff tests/uninorm/test-u8-nfd.c @ 11466:f8e64c4210ee
Avoid test failures on AIX and OSF/1.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 07 Apr 2009 02:59:43 +0200 |
parents | 2d19b06ab374 |
children | e8d2c6fc33ad |
line wrap: on
line diff
--- a/tests/uninorm/test-u8-nfd.c +++ b/tests/uninorm/test-u8-nfd.c @@ -88,7 +88,7 @@ result = u8_normalize (UNINORM_NFD, input, input_length, preallocated, &length); if (!(result != NULL)) return 8; - if (!(result == preallocated)) + if (!(preallocated == NULL || result == preallocated)) return 9; if (!(length == expected_length)) return 10;