[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] iotests: Do not suppress segfaults in bash
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] iotests: Do not suppress segfaults in bash tests |
Date: |
Thu, 29 Oct 2015 15:57:17 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 31.08.2015 um 21:05 hat Max Reitz geschrieben:
> Currently, if a qemu/qemu-io/qemu-img/qemu-nbd invocation receives a
> segmentation fault, that message is invisible in most cases since the
> output is generally filtered and bash suppresses the segmentation fault
> notice for any but the last element of a pipe.
>
> Most of the time, the test will then fail anyway because of missing
> output, but not necessarily (as happened with test 82 recently).
>
> Fix this by making the corresponding environment variables point to
> wrapper functions which execute the respective command in a subshell.
>
> Signed-off-by: Max Reitz <address@hidden>
This patch seems to have broken -valgrind.
Kevin
- Re: [Qemu-devel] [PATCH 1/2] iotests: Do not suppress segfaults in bash tests,
Kevin Wolf <=