From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [PATCH kvm-unit-tests v2 12/12] run_tests: suppress stderr Date: Thu, 17 Dec 2015 18:53:43 +0100 Message-ID: <1450374823-7648-13-git-send-email-rkrcmar@redhat.com> References: <1450374823-7648-1-git-send-email-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Paolo Bonzini , Andrew Jones To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45567 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754403AbbLQRyb (ORCPT ); Thu, 17 Dec 2015 12:54:31 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 174F28EA39 for ; Thu, 17 Dec 2015 17:54:31 +0000 (UTC) In-Reply-To: <1450374823-7648-1-git-send-email-rkrcmar@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: log it instead to keep the output clear. Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 --- v2: new (v1 did this by catching all output in a variable) run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =20 echo > test.log --=20 2.6.4