diff mbox series

generic/629: add missing copy_range command check

Message ID 20210329014013.4953-1-yuchao0@huawei.com (mailing list archive)
State New
Headers show
Series generic/629: add missing copy_range command check | expand

Commit Message

Chao Yu March 29, 2021, 1:40 a.m. UTC
Otherwise, if xfs_io doesn't support this command, it will report
that filesystem fails on this testcase.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
---
 tests/generic/629 | 1 +
 1 file changed, 1 insertion(+)

Comments

Darrick J. Wong March 29, 2021, 6:44 p.m. UTC | #1
On Mon, Mar 29, 2021 at 09:40:13AM +0800, Chao Yu wrote:
> Otherwise, if xfs_io doesn't support this command, it will report
> that filesystem fails on this testcase.
> 
> Signed-off-by: Chao Yu <yuchao0@huawei.com>

Yep, thanks for catching this.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  tests/generic/629 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/generic/629 b/tests/generic/629
> index ad86ab5bb0c0..13d433a4e470 100755
> --- a/tests/generic/629
> +++ b/tests/generic/629
> @@ -36,6 +36,7 @@ _cleanup()
>  _supported_fs generic
>  _require_dm_target error
>  _require_xfs_io_command "chattr" "s"
> +_require_xfs_io_command "copy_range"
>  _require_scratch
>  
>  rm -f $seqres.full
> -- 
> 2.29.2
>
diff mbox series

Patch

diff --git a/tests/generic/629 b/tests/generic/629
index ad86ab5bb0c0..13d433a4e470 100755
--- a/tests/generic/629
+++ b/tests/generic/629
@@ -36,6 +36,7 @@  _cleanup()
 _supported_fs generic
 _require_dm_target error
 _require_xfs_io_command "chattr" "s"
+_require_xfs_io_command "copy_range"
 _require_scratch
 
 rm -f $seqres.full