[Devel] [PATCH vz10 4/4] ms/selftests: mptcp: join: properly kill background tasks
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Sep 16 20:08:02 MSK 2026
On Wed, 16 Sep 2026 15:17:37 +0300, Eva Kurchatova <eva.kurchatova at virtuozzo.com> wrote:
> The 'run_tests' function is executed in the background, but killing its
> associated PID would not kill the children tasks running in the
> background.
>
> To properly kill all background tasks, 'kill -- -PID' could be used, but
> this requires kill from procps-ng. Instead, all children tasks are
> listed using 'ps', and 'kill' is called with all PIDs of this group.
>
> [...]
Reviewed-by: Konstantin Khorenko <khorenko at virtuozzo.com>
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list