[PATCH v4] tests/fcntl-common.c: extend coverage for other fcntl flags
Dmitry V. Levin
ldv at altlinux.org
Thu Jul 12 20:31:54 UTC 2018
On Thu, Jul 12, 2018 at 02:49:42PM +0800, Zhibin Li wrote:
> * tests/fcntl-common.c: Include <assert.h>.
> (fcntl_cmd_check): New structure.
> (print_retval_flags, test_other_set_cmd, test_other_get_cmd,
> print_flags_getfd, print_flags_getsig, print_flags_getlease,
> test_fcntl_others): New functions.
> (main): Use test_fcntl_others.
Applied, thanks. This increased coverage of fcntl.c, but a few cases
in print_fcntl() are still not covered by any tests.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180712/f96e2fa9/attachment.bin>
More information about the Strace-devel
mailing list