projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fpending: fix regression on DragonFly BSD
[gnulib.git]
/
tests
/
test-fchown.c
diff --git
a/tests/test-fchown.c
b/tests/test-fchown.c
index
31a865e
..
6ee3fe3
100644
(file)
--- a/
tests/test-fchown.c
+++ b/
tests/test-fchown.c
@@
-35,6
+35,7
@@
main (int argc, char *argv[])
ASSERT (errno == EBADF);
}
{
+ close (99);
errno = 0;
ASSERT (fchown (99, getuid (), getgid ()) == -1);
ASSERT (errno == EBADF);