]> Savannah Git Hosting - gnulib.git/commit
tests: Strenghten tests with invalid file descriptor.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Sep 2024 21:00:28 +0000 (23:00 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Sep 2024 21:00:28 +0000 (23:00 +0200)
commit30cfcf6f0417c4df7d9452400a70829a29612441
treee73ee32bbb64dc7e6ba7017c1ce969c9009d2909
parente69d5120b3d2162c54ae8072a5193cfc8c029943
tests: Strenghten tests with invalid file descriptor.

* tests/test-close.c: Include <fcntl.h>.
(main): Check that AT_FDCWD is recognized as an invalid file descriptor.
* tests/test-dup.c: Include <fcntl.h>.
(main): Check that AT_FDCWD is recognized as an invalid file descriptor.
* tests/test-unlockpt.c: Include <fcntl.h>.
(main): Check that AT_FDCWD is recognized as an invalid file descriptor.
* tests/test-fchdir.c (main): Likewise.
* tests/test-fdatasync.c (main): Likewise.
* tests/test-fdopendir.c (main): Likewise.
* tests/test-fsync.c (main): Likewise.
* tests/test-isatty.c (main): Likewise.
ChangeLog
tests/test-close.c
tests/test-dup.c
tests/test-fchdir.c
tests/test-fdatasync.c
tests/test-fdopendir.c
tests/test-fsync.c
tests/test-isatty.c
tests/test-unlockpt.c