]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151496: Use process groups in TraceBackend in test_dtrace (GH-152039) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jun 2026 14:15:43 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 14:15:43 +0000 (14:15 +0000)
commitc93039d453977704e63eede668c3ded485aabe5e
treefcb7952a0f33f96e6aa6d0469a9b9bd142091d10
parent8146fa4727314cb32af5eb53bb4f4a3fa8c6fe26
[3.15] gh-151496: Use process groups in TraceBackend in test_dtrace (GH-152039) (#152082)

gh-151496: Use process groups in TraceBackend in test_dtrace (GH-152039)

Run the generic DTrace/SystemTap commands in a new process group and
terminate the whole group on timeout.

This prevents a forked tracer child from keeping stdout/stderr pipes
open after the direct tracer process is killed.
(cherry picked from commit 1785f4b35f899704df0be54cba3776906186b2b1)

Co-authored-by: stratakis <cstratak@redhat.com>
Lib/test/test_dtrace.py