writing test for `fs_x_ioctl`

Bran S archsbran at gmail.com
Mon Mar 23 10:54:17 UTC 2020


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 ?

Thanks.


More information about the Strace-devel mailing list