projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptsname_r-tests: new test module
[gnulib.git]
/
tests
/
test-unlockpt.c
diff --git
a/tests/test-unlockpt.c
b/tests/test-unlockpt.c
index
e7861ea
..
4717e7d
100644
(file)
--- a/
tests/test-unlockpt.c
+++ b/
tests/test-unlockpt.c
@@
-29,6
+29,7
@@
int
main (void)
{
/* Test behaviour for invalid file descriptors. */
+#if !defined __NetBSD__ /* known bug on NetBSD 5.1 */
{
errno = 0;
ASSERT (unlockpt (-1) == -1);
@@
-43,6
+44,7
@@
main (void)
|| errno == EINVAL /* seen on FreeBSD 6.4 */
);
}
+#endif
return 0;
}