]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
tests/xfs: don't run tests if cowextsize isn't present
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 25 Aug 2016 23:28:25 +0000 (16:28 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 2 Sep 2016 08:40:08 +0000 (16:40 +0800)
Some of the tests forgot to check that xfs_io has a cowextsize
command, so fix that here.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
23 files changed:
tests/xfs/215
tests/xfs/218
tests/xfs/219
tests/xfs/221
tests/xfs/223
tests/xfs/224
tests/xfs/225
tests/xfs/226
tests/xfs/228
tests/xfs/230
tests/xfs/231
tests/xfs/232
tests/xfs/243
tests/xfs/248
tests/xfs/249
tests/xfs/251
tests/xfs/254
tests/xfs/255
tests/xfs/256
tests/xfs/257
tests/xfs/258
tests/xfs/315
tests/xfs/326

index 7a517d7f1f716700497c3a35b849b085e4112ee2..b9c9ab44d7494403fb4474d2536ba34ab3893bd6 100755 (executable)
@@ -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
index 0ab4102c8eda39d9b73c2c31784b45e9bc20ed5e..887a13598e392ae0a3729ddc3fdf431d154a6cc0 100755 (executable)
@@ -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
 
index df57e07a6adb6e131b8418d2cb4b8123ea67cd1e..5ae0714c76f2a25ea16125b2dd9c66c80ca31dd2 100755 (executable)
@@ -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
index 03d81ac69e2083413601deecc73986c943329929..3afc75f203e5e80db05862f11cde64b12959f713 100755 (executable)
@@ -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
 
index 7c990a270a04c02fa0b83576f288b758eb15cf56..3f34bcfa035feba5477f078ceddd0ff0ea4a03f1 100755 (executable)
@@ -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
index bf33d1f18c80661028ffa1a5fd9cdcc6357db2bd..91033fa9dcc6e5b2edfddc5dda4cedf40f243842 100755 (executable)
@@ -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
 
index 749816f0d3ca40da5ac016ba7d2eb921649fce2e..22604419135a70ecfca55e43db750feab52016c2 100755 (executable)
@@ -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
index bb94d246041f9db2d1b963c571212ea17169fd79..ac702396a187497ecf40ab3f057127c8f5ceb8eb 100755 (executable)
@@ -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
 
index df1fd7aa0ebbb2f85d396d40c169249767dc86e7..65d7f5133dd7f56293853e61a28408f9831fb9d7 100755 (executable)
@@ -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
index 73f599af8f8d738822c966064f7115e2d1deaf72..73c6267451bbdfc151589addc0fb983e4d5e50a4 100755 (executable)
@@ -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
index 166f6b0ef67175ba3fd878735830c2bb1ffa5d7f..d89139a9de3ce7c93db1f17758998297514642aa 100755 (executable)
@@ -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)
index 0008dbfde15f3409a2a36c231dab84f397c0e3bd..2438f1fdf01612f2e5da2d2788f6d3e7293881e1 100755 (executable)
@@ -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
index f6a86924143c38d07f4a37e611228c94217efffd..0bb69c4e30b27c2c5a3ea086ee8665c376628769 100755 (executable)
@@ -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
index 7e25258afff41b0fd8ec578e0a38e9fa2fb35fc8..471205c9d99eabb847dab66b413a729a103e0195 100755 (executable)
@@ -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
 
index b82d89cb3ba0649778a9365ab4a08bf38374d586..0a7fbf15aac07648f0b22b3816c4e85d5ac5ead7 100755 (executable)
@@ -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
index 4f74772db700f8eb3544e2e461524ed5ab8fb44a..48a027c7579529e33720d34aacb64b8532e69ae6 100755 (executable)
@@ -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
 
index c8ac412362a1861f92893019d58488adb4075cb8..ac87e49e9ed7c42c828600865f0f09afc59f68cd 100755 (executable)
@@ -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
index 93ad13ebb8ee6cf0cc1a8cf895421c7b204ab333..97cbb77be6bd157d6dcb1a1c120e0a8c400018ea 100755 (executable)
@@ -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
 
index d5cf71b8e9b1488813826166e0470cc1730827ef..a182953d4e824c200153ed2c4004cbc70ad6d81b 100755 (executable)
@@ -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
index 624f5e3886caa14de333685a98f5e950eb9660c8..1fc401b5835bef324e08208154181c1e5659ad4a 100755 (executable)
@@ -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
 
index 243e853b3d854e397231e7091c8a38f7033090d3..a3ffc8991255fe58214aabeaab81283e389f3efb 100755 (executable)
@@ -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
index 62d7fcfa6fbbdac6fd8b5f1371c23c597ce44a5c..6170540c0b962ab1360746d0efd8cc1e26e0229b 100755 (executable)
@@ -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
index 2cd6eda01424b3d43234a3f607b8409f70c81b5e..36bdcf486febcc71a82c4695a8b2f6a784180bf7 100755 (executable)
@@ -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