From patchwork Mon Sep 5 05:56:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 9313075 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 48E29607D3 for ; Mon, 5 Sep 2016 05:57:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B97B289A1 for ; Mon, 5 Sep 2016 05:57:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FFC5289A4; Mon, 5 Sep 2016 05:57:44 +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 0A0E7289B2 for ; Mon, 5 Sep 2016 05:57:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750890AbcIEF5l (ORCPT ); Mon, 5 Sep 2016 01:57:41 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:52374 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750720AbcIEF5l (ORCPT ); Mon, 5 Sep 2016 01:57:41 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="10601002" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 05 Sep 2016 13:57:36 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 1A7054042420; Mon, 5 Sep 2016 13:57:34 +0800 (CST) Received: from localhost.localdomain (10.167.220.69) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.279.2; Mon, 5 Sep 2016 13:57:36 +0800 From: Xiao Yang To: CC: , Xiao Yang Subject: [PATCH v2] ext4/021: use $XFS_IO_PROG instead of xfs_io Date: Mon, 5 Sep 2016 13:56:47 +0800 Message-ID: <1473055007-26359-1-git-send-email-yangx.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20160905053356.GL27776@eguan.usersys.redhat.com> References: <20160905053356.GL27776@eguan.usersys.redhat.com> MIME-Version: 1.0 X-Originating-IP: [10.167.220.69] X-yoursite-MailScanner-ID: 1A7054042420.A3FF3 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 We should use $XFS_IO_PROG to add "-F" option when we need it. Signed-off-by: Xiao Yang --- tests/ext4/021 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ext4/021 b/tests/ext4/021 index d758818..d5fad7c 100755 --- a/tests/ext4/021 +++ b/tests/ext4/021 @@ -80,7 +80,7 @@ fi # disk, the s_squence offset to the beginning of journal superblock is 24 # we do this to let jbd2 start to run with a initial big transaction id, # which will reduce the time taken to trigger this bug. -xfs_io -c "pwrite -S 0x81 $((offset+24)) 1" \ +$XFS_IO_PROG -c "pwrite -S 0x81 $((offset+24)) 1" \ -c "pwrite -S 0xd1 $((offset+25)) 1" \ -c "pwrite -S 0xa4 $((offset+26)) 1" \ -c "pwrite -S 0x80 $((offset+27)) 1" $SCRATCH_DEV >> $seqres.full 2>&1