From patchwork Fri Dec 30 04:14:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Su Yue X-Patchwork-Id: 9491751 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 06A8762AB9 for ; Fri, 30 Dec 2016 04:14:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAA211FFD6 for ; Fri, 30 Dec 2016 04:14:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF8922018E; Fri, 30 Dec 2016 04:14:30 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 9FDEB1FFD6 for ; Fri, 30 Dec 2016 04:14:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbcL3EO2 (ORCPT ); Thu, 29 Dec 2016 23:14:28 -0500 Received: from cn.fujitsu.com ([59.151.112.132]:63052 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753420AbcL3EO2 (ORCPT ); Thu, 29 Dec 2016 23:14:28 -0500 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="14368757" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 30 Dec 2016 12:14:12 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 456FD477B1F7; Fri, 30 Dec 2016 12:14:12 +0800 (CST) Received: from localhost.localdomain (10.167.226.129) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 30 Dec 2016 12:14:11 +0800 From: Su Yue To: , Subject: [PATCH 1/2] fstests: btrfs/104: Redirect mkfs output to avoid false alert Date: Thu, 29 Dec 2016 23:14:09 -0500 Message-ID: <20161230041410.10038-1-suy.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-Originating-IP: [10.167.226.129] X-yoursite-MailScanner-ID: 456FD477B1F7.AB0EA X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: suy.fnst@cn.fujitsu.com Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP btrfs/104 doesn't redirect mkfs output correctly, which leads to false alert. Fix it. Signed-off-by: Su Yue --- tests/btrfs/104 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/btrfs/104 b/tests/btrfs/104 index e6a6d3b..c8be4dd 100755 --- a/tests/btrfs/104 +++ b/tests/btrfs/104 @@ -107,7 +107,7 @@ _explode_fs_tree () { # Force the default leaf size as the calculations for making our btree # heights are based on that. -_scratch_mkfs "--nodesize 16384" +_scratch_mkfs "--nodesize 16384" >> $seqres.full 2>&1 _scratch_mount # populate the default subvolume and create a snapshot ('snap1')