tests/xfs: don't run tests if cowextsize isn't present

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>
This commit is contained in:
Darrick J. Wong
2016-08-25 16:28:25 -07:00
committed by Eryu Guan
parent a54bed2236
commit 5ca088bdd2
23 changed files with 23 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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)
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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

Some files were not shown because too many files have changed in this diff Show More