[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 4/4] iotests: Warn if python subprocess is ki
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v2 4/4] iotests: Warn if python subprocess is killed |
Date: |
Wed, 2 Sep 2015 14:17:00 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 09/02/2015 12:52 PM, Max Reitz wrote:
> Currently, if a subprocess of a python test (i.e. qemu-io, qemu-img, or
> qemu) receives a signal and is subsequently aborted, this is not logged.
>
> This patch makes python tests always check the exit code of these
> subprocesses, and emit a message if they have been killed.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> tests/qemu-iotests/iotests.py | 26 +++++++++++++++++++++-----
> 1 file changed, 21 insertions(+), 5 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v2 0/4] iotests: Emit signal-kill messages, Max Reitz, 2015/09/02
- [Qemu-block] [PATCH v2 1/4] iotests: More options for VM.add_drive(), Max Reitz, 2015/09/02
- [Qemu-block] [PATCH v2 2/4] iotests: Respect -nodefaults in tests 41 and 55, Max Reitz, 2015/09/02
- [Qemu-block] [PATCH v2 3/4] iotests: Do not suppress segfaults in bash tests, Max Reitz, 2015/09/02
- [Qemu-block] [PATCH v2 4/4] iotests: Warn if python subprocess is killed, Max Reitz, 2015/09/02
- Re: [Qemu-block] [PATCH v2 4/4] iotests: Warn if python subprocess is killed,
Eric Blake <=
- Re: [Qemu-block] [PATCH v2 0/4] iotests: Emit signal-kill messages, Kevin Wolf, 2015/09/03