[LTP] [PATCH v3 0/2] Increase fsync() coverage - GH#452
Martin Doucha
mdoucha@suse.cz
Thu Oct 31 11:21:14 CET 2019
This patchset partially solves GH issue #452. New test cases: Call fsync()
on open socket, fifo, and closed non-negative file descriptor.
What is not tested (yet): fsync() calls which produce EINTR, EIO, ENOSPC,
EROFS or EDQUOT errors. These errors can only happen while data in kernel
buffers is being written to disk. Producing these errors reliably would
require some control over the block device underlying the file system.
Changes since v2:
- coding style fixes
- cleaner setup() and cleanup()
- use TEST() macro for checking fsync() result
- pedantic check of fsync() return value
Martin Doucha (2):
Update syscalls/fsync03 to new API
Improve coverage in syscalls/fsync03
testcases/kernel/syscalls/fsync/fsync03.c | 178 ++++++++--------------
1 file changed, 63 insertions(+), 115 deletions(-)
--
2.23.0
More information about the ltp
mailing list