From patchwork Wed May 24 04:17:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9744929 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D43B460209 for ; Wed, 24 May 2017 04:18:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDA1C28774 for ; Wed, 24 May 2017 04:18:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B01492888A; Wed, 24 May 2017 04:18:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DBD428774 for ; Wed, 24 May 2017 04:18:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761614AbdEXESZ (ORCPT ); Wed, 24 May 2017 00:18:25 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34912 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757852AbdEXESY (ORCPT ); Wed, 24 May 2017 00:18:24 -0400 Received: by mail-pf0-f195.google.com with SMTP id u26so31477807pfd.2 for ; Tue, 23 May 2017 21:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HKOfNXPoFslnCIvmBci4KF6A70mSXBqVFlb/LGzMQ10=; b=TcbyFz2ZdeQTMApbLf03cmkIwbi/LEdaRGCnel2q4zSJFxycRvp2toy/XZT/HH9ifA U5NacUF2dH1tls/9sKQ6+FGR+4/6nMzJ/CY0eCVIFAuH79VO01uXh1TWWUk/8pC3BDVv WfDqBEi8p2eVxWoYZR7rkP1z5ZCpJTmh4b6yxNqIHax0kExV3WAYLOsnzLKoj4dguflx 9n9oMmqB1JmQJSiCLZ15YPZ5cjCAA4Bzl9xtxyjieZB6IsDEupf+PdJdfNAiCrfYZqEb /vRrukhR1A6KLiW0LfKZlmifOLD4mZCVOrweGK6x1ws4rU/nUZaZFNyomu6nP/0qWB7y 1k8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HKOfNXPoFslnCIvmBci4KF6A70mSXBqVFlb/LGzMQ10=; b=oMl5lVUYJ9H2BLBmC7ndyUVe7c3SyYMjaox+BfI8QiwidAgvnQTHBkfSLcQthNWb70 uz6FLKXNMlw3YioBhW8QP3/9srlzfJI8Yrdc52NFofe0bcBBTPTFo9ALag5Oz+SBB2uo FP+YAIWpSTsqj+80uuQvMF0+oJa0EguOEHD1xz/pn6e8v8n6h6Yu/FTqnLgCwX0rli9I o3bbZ0+nmlJDxzlO+4F+os/PV1ETGdqibKYG5dM3sewSinw6YyiSxvRhPnLehD8UyWiW QW/TieuFvnYLAjLOgYYEAsh/2sG+M8ctrRgM5uZflXxBFBWxOGe0gyUtu6yIY1S6fi3b nGvw== X-Gm-Message-State: AODbwcC89CeIAACgC/nQfWJZ+P58iwZ81+Z/ObCLfxnRdxbgukbXrPqP HBueisvNlWbGzw== X-Received: by 10.98.24.200 with SMTP id 191mr35842777pfy.207.1495599503440; Tue, 23 May 2017 21:18:23 -0700 (PDT) Received: from localhost.localdomain (c-73-239-167-150.hsd1.wa.comcast.net. [73.239.167.150]) by smtp.gmail.com with ESMTPSA id 80sm4669979pfx.80.2017.05.23.21.18.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2017 21:18:22 -0700 (PDT) From: Eric Biggers To: Theodore Ts'o Cc: fstests@vger.kernel.org, Eric Biggers Subject: [PATCH] test-appliance: revert logging change on startup Date: Tue, 23 May 2017 21:17:08 -0700 Message-Id: <20170524041708.16580-1-ebiggers3@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Eric Biggers Commit 458ce3391003 ("Add support to optionally build gce-xfstests for Debian stretch") made the output of kvm-xfstests.boot get redirected to a file /var/log/kvm-xfstests-boot.log. This actually isn't desirable, because the output is supposed to be shown on the console. This was especially apparent for kvm-xfstests, since it hid the output of runtests.sh. But it was also applicable to gce-xfstests, since 'gce-xfstests console' can be used to show the console output. We could send the output to both places using 'tee', but this seems useless since the output can just be retrieved from the console instead of from the log file. Also, the 'set -vx' output is too verbose for the console, and I don't think there would be a way to send it just to the log file. So just revert the change to kvm-xfstests.boot. Signed-off-by: Eric Biggers --- kvm-xfstests/test-appliance/files/root/kvm-xfstests.boot | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kvm-xfstests/test-appliance/files/root/kvm-xfstests.boot b/kvm-xfstests/test-appliance/files/root/kvm-xfstests.boot index 4b687d0..26ef2fd 100755 --- a/kvm-xfstests/test-appliance/files/root/kvm-xfstests.boot +++ b/kvm-xfstests/test-appliance/files/root/kvm-xfstests.boot @@ -11,13 +11,6 @@ else fi } -date >> /var/log/kvm-xfstests-boot.log -exec 1<&- -exec 2<&- -exec 1>> /var/log/kvm-xfstests-boot.log -exec 2>&1 -set -vx - . /root/test-config FSTESTCFG=$(parse fstestcfg | sed -e 's/,/ /g')