From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeVuS-0002t6-3V for qemu-devel@nongnu.org; Fri, 11 Mar 2016 17:51:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeVuR-00053m-5N for qemu-devel@nongnu.org; Fri, 11 Mar 2016 17:51:52 -0500 References: <1456747261-22032-1-git-send-email-berrange@redhat.com> <1456747261-22032-17-git-send-email-berrange@redhat.com> From: Eric Blake Message-ID: <56E34C01.1050001@redhat.com> Date: Fri, 11 Mar 2016 15:51:45 -0700 MIME-Version: 1.0 In-Reply-To: <1456747261-22032-17-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DWnxwjS59LGMBWDhruPR1lnbTwF6RSsva" Subject: Re: [Qemu-devel] [PATCH v4 16/26] tests: redirect stderr to stdout for iotests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Fam Zheng , qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DWnxwjS59LGMBWDhruPR1lnbTwF6RSsva Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/29/2016 05:00 AM, Daniel P. Berrange wrote: > The python I/O tests helper for running qemu-img/qemu-io > setup stdout to be captured to a pipe, but left stderr > untouched. As a result, if something failed in qemu-img/ > qemu-io, data written to stderr would get output directly > and not line up with data on the test stdout due to > buffering. If we explicitly redirect stderr to the same > pipe as stdout, things are much clearer when they go > wrong. >=20 > Signed-off-by: Daniel P. Berrange > --- > tests/qemu-iotests/iotests.py | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --DWnxwjS59LGMBWDhruPR1lnbTwF6RSsva Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJW40wBAAoJEKeha0olJ0NqCfAIAK6mujF705XYSmJw0F7OG8WH 56Tg+dLSSf7xiWySxEIhpFFGQgpJvUMo6Bfq/rh895huK1GptmarBuF4OfyOPyHb ODWOXC29vpF0ooV4jHNYMI0XKEFRQqdRR8IZMeZNS3K0qb2pZyHkoI8nxKpJ+9l5 i5bEndSh7DXfv7ugewsyokT6ZE/fKNIpBqFYdZXx0PJg3A1t6kgU4yX+MBTVpH7Z pMH9d9Qcy1byhof46QFYqeMkA6kNasg6TCtVU1xkga5duelzzrma80r0U7/kkS/P 5UZ6jahfIc1JoMaVQCXqopE3IJHFKDWG53VE7CKsrqH3zK6P0uDe1qU+0stKqXw= =kQfl -----END PGP SIGNATURE----- --DWnxwjS59LGMBWDhruPR1lnbTwF6RSsva--