From patchwork Tue Feb 7 09:58:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 9559651 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 DEEC460434 for ; Tue, 7 Feb 2017 09:58:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFCB228355 for ; Tue, 7 Feb 2017 09:58:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2DC028358; Tue, 7 Feb 2017 09:58:45 +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 5C87C28355 for ; Tue, 7 Feb 2017 09:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbdBGJ6p (ORCPT ); Tue, 7 Feb 2017 04:58:45 -0500 Received: from cn.fujitsu.com ([59.151.112.132]:32637 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752983AbdBGJ6o (ORCPT ); Tue, 7 Feb 2017 04:58:44 -0500 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="15359789" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 07 Feb 2017 17:58:31 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id E3BA7477B1F7 for ; Tue, 7 Feb 2017 17:58:27 +0800 (CST) Received: from localhost.localdomain (10.167.220.62) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 7 Feb 2017 17:58:25 +0800 From: Xiao Yang To: CC: Xiao Yang Subject: [PATCH] common/fuzzy: discard xfs_io stdout in _scratch_fuzz_modify Date: Tue, 7 Feb 2017 17:58:19 +0800 Message-ID: <1486461499-4975-1-git-send-email-yangx.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.167.220.62] X-yoursite-MailScanner-ID: E3BA7477B1F7.AA894 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: yangx.jy@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 xfs/083 fails because _scratch_fuzz_modify redirects xfs_io stdout to $ROUND2_LOG. _scratch_fuzz_modify function has been modified by commit 7a7463d362cd3 ("populate: fix some silly errors when modifying a fs while fuzzing"). Signed-off-by: Xiao Yang --- common/fuzzy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/fuzzy b/common/fuzzy index 75b23e1..304268e 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -39,7 +39,7 @@ _scratch_fuzz_modify() { echo "+++ create files" mkdir -p "${SCRATCH_MNT}/test.moo" - $XFS_IO_PROG -f -c 'pwrite -S 0x80 0 65536' "${SCRATCH_MNT}/test.moo/urk" + $XFS_IO_PROG -f -c 'pwrite -S 0x80 0 65536' "${SCRATCH_MNT}/test.moo/urk" > /dev/null sync echo "+++ remove files"