[PATCH v4] tests/fcntl-common.c: extend coverage for other fcntl flags

Zhibin Li 08826794brmt at gmail.com
Wed Jul 18 10:00:25 UTC 2018


OK, I see. I will try to cover that part in an elegant way.

On Fri, Jul 13, 2018 at 4:31 AM Dmitry V. Levin <ldv at altlinux.org> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180718/fdf8cde9/attachment.html>


More information about the Strace-devel mailing list