[PATCH v1] Test for HDIO_GETGEO
archsbran at gmail.com
Thu Mar 26 12:01:06 UTC 2020
> It seems that the test doesn't cover the actual decoder code, you can
> try to address it with success-injection-based testing,  (or any
> other *-success test) may be of use as an example of doing so.
>  https://gitlab.com/strace/strace/commit/bd19a4d271e5
Yes this test doesn't hit the tprintf() line in hdio.c.
To do that I would need a valid file descriptor to a device right ?
Looking at injection based testing.
More information about the Strace-devel