projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: log cherry-pick [27147dc]->[4c5d3e6] doc: update users.txt
[gnulib.git]
/
tests
/
test-strerror_r.c
diff --git
a/tests/test-strerror_r.c
b/tests/test-strerror_r.c
index
6af4e98
..
b2fdaf9
100644
(file)
--- a/
tests/test-strerror_r.c
+++ b/
tests/test-strerror_r.c
@@
-1,5
+1,5
@@
/* Test of strerror_r() function.
/* Test of strerror_r() function.
- Copyright (C) 2007-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2007-201
1
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
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
@@
-74,8
+74,8
@@
main (void)
if (ret == 0)
{
/* Truncated result. POSIX allows this, and it actually
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
{
}
else
{