]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests/151: ensure subprocesses are cleaned up
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 15 Jul 2025 14:30:22 +0000 (15:30 +0100)
committerJohn Snow <jsnow@redhat.com>
Mon, 15 Sep 2025 18:36:02 +0000 (14:36 -0400)
commit2b2fb25c2aaf5b2e8172d845db39cc50a951a12e
treee0cac77227bfed643bb37e3c7fb28caaca8e8561
parentd4d0ebfcc926c11d16320d0d5accf22e3441c115
iotests/151: ensure subprocesses are cleaned up

The iotest 151 creates a bunch of subprocesses, with their stdout
connected to a pipe but never reads any data from them and does
not gurantee the processes are killed on cleanup.

This triggers resource leak warnings from python when the
subprocess.Popen object is garbage collected.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemu-iotests/151