projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: don't assume fd 99 is closed
[gnulib.git]
/
tests
/
test-dprintf.c
diff --git
a/tests/test-dprintf.c
b/tests/test-dprintf.c
index
fcc8d51
..
8981107
100644
(file)
--- a/
tests/test-dprintf.c
+++ b/
tests/test-dprintf.c
@@
-35,6
+35,7
@@
main (int argc, char *argv[])
ASSERT (errno == EBADF);
}
{
+ close (99);
errno = 0;
ASSERT (dprintf (99, "test") == -1);
ASSERT (errno == EBADF);