[PATCH v7 4/4] tests: check status qualifier

Paul Chaignon paul.chaignon at gmail.com
Tue Jul 9 12:36:41 UTC 2019


On Mon, Jul 08, 2019 at 03:16:49PM +0300, Dmitry V. Levin wrote:
> On Sat, Jul 06, 2019 at 09:20:15AM +0200, Paul Chaignon wrote:

[...]

>
> btw, why do you need two different kinds of sleep in the child,
> and why do you need two nanosleep invocations in the child at all?
>
> This is -e status=none test, strace doesn't print any of these syscalls,
> all you need is to let the parent enough time to fall into deep sleep
> before invoking execve.

You're right.  They're remnants from threads-execve.c.  I've changed
clock_nanosleep() into nanosleep() and removed the second sleep in the
child, in both status-none.c and status-unfinished.c.

Paul


More information about the Strace-devel mailing list