From patchwork Thu Aug 25 23:28:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 9300175 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 8A8ED607F0 for ; Thu, 25 Aug 2016 23:30:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B72F293C1 for ; Thu, 25 Aug 2016 23:30:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7001329412; Thu, 25 Aug 2016 23:30:52 +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, UNPARSEABLE_RELAY autolearn=unavailable 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 D30E2293C1 for ; Thu, 25 Aug 2016 23:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756630AbcHYXav (ORCPT ); Thu, 25 Aug 2016 19:30:51 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:47560 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752945AbcHYXas (ORCPT ); Thu, 25 Aug 2016 19:30:48 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u7PNSS4O006707 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 25 Aug 2016 23:28:29 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u7PNSScE026397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 25 Aug 2016 23:28:28 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u7PNSRvS026974; Thu, 25 Aug 2016 23:28:27 GMT Received: from localhost (/10.145.178.207) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 25 Aug 2016 16:28:27 -0700 Subject: [PATCH 01/13] tests/xfs: don't run tests if cowextsize isn't present From: "Darrick J. Wong" To: david@fromorbit.com, eguan@redhat.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, xfs@oss.sgi.com Date: Thu, 25 Aug 2016 16:28:25 -0700 Message-ID: <147216770565.32641.5996523789425289351.stgit@birch.djwong.org> In-Reply-To: <147216769914.32641.55434969009554013.stgit@birch.djwong.org> References: <147216769914.32641.55434969009554013.stgit@birch.djwong.org> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some of the tests forgot to check that xfs_io has a cowextsize command, so fix that here. Signed-off-by: Darrick J. Wong --- tests/xfs/215 | 1 + tests/xfs/218 | 1 + tests/xfs/219 | 1 + tests/xfs/221 | 1 + tests/xfs/223 | 1 + tests/xfs/224 | 1 + tests/xfs/225 | 1 + tests/xfs/226 | 1 + tests/xfs/228 | 1 + tests/xfs/230 | 1 + tests/xfs/231 | 1 + tests/xfs/232 | 1 + tests/xfs/243 | 1 + tests/xfs/248 | 1 + tests/xfs/249 | 1 + tests/xfs/251 | 1 + tests/xfs/254 | 1 + tests/xfs/255 | 1 + tests/xfs/256 | 1 + tests/xfs/257 | 1 + tests/xfs/258 | 1 + tests/xfs/315 | 1 + tests/xfs/326 | 1 + 23 files changed, 23 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/xfs/215 b/tests/xfs/215 index 7a517d7..b9c9ab4 100755 --- a/tests/xfs/215 +++ b/tests/xfs/215 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/218 b/tests/xfs/218 index 0ab4102..887a135 100755 --- a/tests/xfs/218 +++ b/tests/xfs/218 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/219 b/tests/xfs/219 index df57e07..5ae0714 100755 --- a/tests/xfs/219 +++ b/tests/xfs/219 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/221 b/tests/xfs/221 index 03d81ac..3afc75f 100755 --- a/tests/xfs/221 +++ b/tests/xfs/221 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/223 b/tests/xfs/223 index 7c990a2..3f34bcf 100755 --- a/tests/xfs/223 +++ b/tests/xfs/223 @@ -51,6 +51,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/224 b/tests/xfs/224 index bf33d1f..91033fa 100755 --- a/tests/xfs/224 +++ b/tests/xfs/224 @@ -51,6 +51,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/225 b/tests/xfs/225 index 749816f..2260441 100755 --- a/tests/xfs/225 +++ b/tests/xfs/225 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/226 b/tests/xfs/226 index bb94d24..ac70239 100755 --- a/tests/xfs/226 +++ b/tests/xfs/226 @@ -50,6 +50,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/228 b/tests/xfs/228 index df1fd7a..65d7f51 100755 --- a/tests/xfs/228 +++ b/tests/xfs/228 @@ -54,6 +54,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_xfs_io_command "fpunch" _require_cp_reflink _require_odirect diff --git a/tests/xfs/230 b/tests/xfs/230 index 73f599a..73c6267 100755 --- a/tests/xfs/230 +++ b/tests/xfs/230 @@ -54,6 +54,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_xfs_io_command "fpunch" _require_cp_reflink _require_odirect diff --git a/tests/xfs/231 b/tests/xfs/231 index 166f6b0..d89139a 100755 --- a/tests/xfs/231 +++ b/tests/xfs/231 @@ -51,6 +51,7 @@ _supported_os Linux _supported_fs xfs _require_scratch_reflink _require_cp_reflink +_require_xfs_io_command "cowextsize" _require_fiemap old_cow_lifetime=$(cat /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime) diff --git a/tests/xfs/232 b/tests/xfs/232 index 0008dbf..2438f1f 100755 --- a/tests/xfs/232 +++ b/tests/xfs/232 @@ -50,6 +50,7 @@ _cleanup() # real QA test starts here _supported_os Linux _supported_fs xfs +_require_xfs_io_command "cowextsize" _require_scratch_reflink _require_cp_reflink _require_fiemap diff --git a/tests/xfs/243 b/tests/xfs/243 index f6a8692..0bb69c4 100755 --- a/tests/xfs/243 +++ b/tests/xfs/243 @@ -55,6 +55,7 @@ _supported_os Linux _supported_fs xfs _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_xfs_io_command "fpunch" _require_xfs_io_command "bmap" "-c" _require_cp_reflink diff --git a/tests/xfs/248 b/tests/xfs/248 index 7e25258..471205c 100755 --- a/tests/xfs/248 +++ b/tests/xfs/248 @@ -51,6 +51,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/249 b/tests/xfs/249 index b82d89c..0a7fbf1 100755 --- a/tests/xfs/249 +++ b/tests/xfs/249 @@ -51,6 +51,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/251 b/tests/xfs/251 index 4f74772..48a027c 100755 --- a/tests/xfs/251 +++ b/tests/xfs/251 @@ -53,6 +53,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/254 b/tests/xfs/254 index c8ac412..ac87e49 100755 --- a/tests/xfs/254 +++ b/tests/xfs/254 @@ -53,6 +53,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/255 b/tests/xfs/255 index 93ad13e..97cbb77 100755 --- a/tests/xfs/255 +++ b/tests/xfs/255 @@ -53,6 +53,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/256 b/tests/xfs/256 index d5cf71b..a182953 100755 --- a/tests/xfs/256 +++ b/tests/xfs/256 @@ -53,6 +53,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/257 b/tests/xfs/257 index 624f5e3..1fc401b 100755 --- a/tests/xfs/257 +++ b/tests/xfs/257 @@ -54,6 +54,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" rm -f $seqres.full diff --git a/tests/xfs/258 b/tests/xfs/258 index 243e853..a3ffc89 100755 --- a/tests/xfs/258 +++ b/tests/xfs/258 @@ -54,6 +54,7 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_xfs_io_command "falloc" +_require_xfs_io_command "cowextsize" _require_odirect rm -f $seqres.full diff --git a/tests/xfs/315 b/tests/xfs/315 index 62d7fcf..6170540 100755 --- a/tests/xfs/315 +++ b/tests/xfs/315 @@ -49,6 +49,7 @@ _supported_fs xfs _require_cp_reflink _require_scratch_reflink _require_error_injection +_require_xfs_io_command "cowextsize" _require_xfs_io_error_injection "free_extent" rm -f $seqres.full diff --git a/tests/xfs/326 b/tests/xfs/326 index 2cd6eda..36bdcf4 100755 --- a/tests/xfs/326 +++ b/tests/xfs/326 @@ -50,6 +50,7 @@ _supported_os Linux _supported_fs xfs _require_cp_reflink _require_scratch_reflink +_require_xfs_io_command "cowextsize" _require_xfs_io_error_injection "refcount_finish_one" rm -f $seqres.full