[PATCH v7 4/4] tests: check status qualifier
Paul Chaignon
paul.chaignon at gmail.com
Sun Jul 7 15:17:55 UTC 2019
On Sun, Jul 07, 2019 at 01:09:44PM +0300, Dmitry V. Levin wrote:
> On Sat, Jul 06, 2019 at 09:20:15AM +0200, Paul Chaignon wrote:
> > [...] The test cases for unfinished
> > and none rely on a child thread execve'ing the lead thread.
>
> I forgot to say that every test relying on this behaviour should be
> skipped on old kernels like threads-execve.test does because
> PTRACE_EVENT_EXEC support in old kernels is not good enough
> causing test failures, e.g.
> $ strace -qqf -enone ./status-none >/dev/null
> strace: wait4(__WALL): No child processes
Okay, I fixed it. I made them into standalone tests (not generated by
gen_tests.sh) to be able to use require_min_kernel_version_or_skip.
Paul
More information about the Strace-devel
mailing list