projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid test failures on AIX and OSF/1.
[gnulib.git]
/
tests
/
uninorm
/
test-u16-nfd.c
diff --git
a/tests/uninorm/test-u16-nfd.c
b/tests/uninorm/test-u16-nfd.c
index
161abd4
..
34789b8
100644
(file)
--- a/
tests/uninorm/test-u16-nfd.c
+++ b/
tests/uninorm/test-u16-nfd.c
@@
-88,7
+88,7
@@
check (const uint16_t *input, size_t input_length,
result = u16_normalize (UNINORM_NFD, input, input_length, preallocated, &length);
if (!(result != NULL))
return 8;
result = u16_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;
return 9;
if (!(length == expected_length))
return 10;