[PATCH] tests: improve test coverage of prctl syscall decoder
Dmitry V. Levin
ldv at altlinux.org
Thu Mar 25 02:00:53 UTC 2021
On Tue, Mar 23, 2021 at 07:39:45PM -0400, Srikavin Ramkumar wrote:
> * tests/.gitignore: Add new test binaries.
> * tests/Makefile.am: Add new tests.
> * tests/pure_executables.list: Likewise.
> * tests/prctl-cap-ambient.c: New file.
> * tests/prctl-cap-ambient.test: Likewise.
> * tests/prctl-capbset.c: Likewise.
> * tests/prctl-capbset.test: Likewise.
> * tests/prctl-fp-mode.c: Likewise.
> * tests/prctl-fp-mode.test: Likewise.
> * tests/prctl-mce-kill.c: Likewise.
> * tests/prctl-mce-kill.test: Likewise.
> * tests/prctl-sve.c: Likewise.
> * tests/prctl-sve.test: Likewise.
> * tests/prctl-unalign.c: Likewise.
> * tests/prctl-unalign.test: Likewise.
> ---
>
> This is part of my GSoC microproject. I plan to add a few more tests, but I
> wanted to make sure that I'm on the right track with these tests. These tests
> pass the CI, and the coverage results can be found here [1].
>
> [1]: https://codecov.io/gh/srikavin/strace/src/prctl-tests/src/prctl.c
I haven't looked into details yet, but overall these tests look good.
--
ldv
More information about the Strace-devel
mailing list