From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [PATCH kvm-unit-tests v2 12/12] run_tests: suppress stderr Date: Thu, 17 Dec 2015 14:01:29 -0600 Message-ID: <20151217200129.GJ14168@hawk.localdomain> References: <1450374823-7648-1-git-send-email-rkrcmar@redhat.com> <1450374823-7648-13-git-send-email-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Paolo Bonzini To: Radim =?utf-8?B?S3LEjW3DocWZ?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58610 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755317AbbLQUBf (ORCPT ); Thu, 17 Dec 2015 15:01:35 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id B5BC78E931 for ; Thu, 17 Dec 2015 20:01:35 +0000 (UTC) Content-Disposition: inline In-Reply-To: <1450374823-7648-13-git-send-email-rkrcmar@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 17, 2015 at 06:53:43PM +0100, Radim Kr=C4=8Dm=C3=A1=C5=99 w= rote: > log it instead to keep the output clear. >=20 > Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 > --- > v2: new (v1 did this by catching all output in a variable) >=20 > run_tests.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/run_tests.sh b/run_tests.sh > index 62c106a0b693..4c8c20a16eac 100755 > --- a/run_tests.sh > +++ b/run_tests.sh > @@ -29,7 +29,7 @@ EOF > } > =20 > __run() { ./$TEST_DIR-run "${@}"; } > -__eval_log() { eval "${@}" >> test.log; } > +__eval_log() { eval "${@}" >> test.log 2>&1; } > __echo_last_log() { cat test.log; } # XXX: ignores the 'last' bit This will greatly conflict with my exit code untangling patch. I'll sen= d that now so you can see it. > =20 > echo > test.log > --=20 > 2.6.4 >=20 > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html