[PATCH v1] Test for HDIO_GETGEO

Bran S archsbran at gmail.com
Wed Mar 25 14:29:53 UTC 2020


On Wed, 25 Mar 2020 at 19:54, Bran S <archsbran at gmail.com> wrote:
>
> > What's the test coverage of this test?
>
>
> I am still trying to build strace with LCOV. But I get errors while
> doing `make code-coverage-capture`
> Please see https://lists.strace.io/pipermail/strace-devel/2020-March/009506.html.
> Is there any other way to calculate coverage of a test ?
> Thanks

So I ran coverage on another spare system and got the below result for
strace/hdio.c

Lines: 8/13 61.5 %
Functions: 1/3 33.3 %
Branches: 4/6 66.7 %


More information about the Strace-devel mailing list