projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sys_time: port to OpenBSD
[gnulib.git]
/
tests
/
test-lseek.c
diff --git
a/tests/test-lseek.c
b/tests/test-lseek.c
index
a45337b
..
67d3341
100644
(file)
--- a/
tests/test-lseek.c
+++ b/
tests/test-lseek.c
@@
-95,6
+95,7
@@
main (int argc, char **argv)
ASSERT (lseek (-1, (off_t)0, SEEK_CUR) == -1);
ASSERT (errno == EBADF);
+ close (99);
errno = 0;
ASSERT (lseek (99, (off_t)0, SEEK_CUR) == -1);
ASSERT (errno == EBADF);