projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: improve diagnostic when an assertion fails
[gnulib.git]
/
tests
/
test-faccessat.c
diff --git
a/tests/test-faccessat.c
b/tests/test-faccessat.c
index
e61f2ad
..
6a4641f
100644
(file)
--- a/
tests/test-faccessat.c
+++ b/
tests/test-faccessat.c
@@
-36,6
+36,7
@@
main (void)
ASSERT (errno == EBADF);
}
{
+ close (99);
errno = 0;
ASSERT (faccessat (99, "foo", F_OK, 0) == -1);
ASSERT (errno == EBADF);