projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strerror_r-posix: port to cygwin
[pspp]
/
tests
/
test-strerror_r.c
diff --git
a/tests/test-strerror_r.c
b/tests/test-strerror_r.c
index 2e25d8e60a3c330893679f9750a058e6b64a7bd5..b2fdaf92688d6621207dc3620936c4db4415ed74 100644
(file)
--- a/
tests/test-strerror_r.c
+++ b/
tests/test-strerror_r.c
@@
-74,8
+74,8
@@
main (void)
if (ret == 0)
{
/* Truncated result. POSIX allows this, and it actually
- happens on AIX 6.1. */
- ASSERT (
strcmp (buf, "BADFACE") != 0
);
+ happens on AIX 6.1
and Cygwin
. */
+ ASSERT (
(strcmp (buf, "BADFACE") == 0) == (i == 0)
);
}
else
{