mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
a54bed2236
commit
5ca088bdd2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user