Tests need the exact operations to reproduce some issues by
--replay-ops so skip tests rather than one operation if a required
operation/flag in tests is not supported.
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
_supported_os Linux
_require_scratch
_require_dm_target flakey
+_require_xfs_io_command "falloc" "-k"
+_require_xfs_io_command "fzero"
+_require_xfs_io_command "fcollapse"
rm -f $seqres.full
_supported_fs generic
_supported_os Linux
_require_test
+_require_xfs_io_command "falloc" "-k"
+_require_xfs_io_command "fpunch"
+_require_xfs_io_command "fzero"
run_fsx()
{
_supported_fs generic
_supported_os Linux
_require_scratch
+_require_xfs_io_command "falloc" "-k"
_require_xfs_io_command "fcollapse"
_require_xfs_io_command "fzero"
_supported_fs generic
_supported_os Linux
_require_scratch
+_require_xfs_io_command "falloc" "-k"
_require_xfs_io_command "fzero"
rm -f $seqres.full