writing test for `fs_x_ioctl`
Naman Mangla
krm.naman at gmail.com
Thu Mar 26 04:50:53 UTC 2020
okay i will see to it
On Wed, Mar 25, 2020 at 7:39 AM Eugene Syromiatnikov <esyr at redhat.com>
wrote:
> On Mon, Mar 23, 2020 at 04:24:17PM +0530, Bran S wrote:
> > Hi Guys,
> >
> > I mean to write test for
> > https://codecov.io/gh/strace/strace/src/master/fs_x_ioctl.c.
> >
> > I have seen tests written for chmod.c as in tests/chmod.c.
> > syscall(__NR_chmod) makes it possible to test chmod.c
> >
> > But I can't find such syscall for fs_x_ioctl.c. Any idea on how to
> > approach writing test for this ?
>
> Please take a look at tests/ioct_*.c files, they implement checks
> for various ioctl commands.
>
> --
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200326/fbcb1de7/attachment.html>
More information about the Strace-devel
mailing list