diff mbox series

generic/566: skip this test if -f option is non-supported

Message ID 1568024086-2151-1-git-send-email-xuyang2018.jy@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show
Series generic/566: skip this test if -f option is non-supported | expand

Commit Message

Yang Xu Sept. 9, 2019, 10:14 a.m. UTC
This test will use xfs_quota -f option, this option was introduced
since xfsprogs v4.10.0-rc1. On old version, we should skip this case.

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 tests/generic/566 | 1 +
 1 file changed, 1 insertion(+)

Comments

Murphy Zhou Sept. 10, 2019, 4:28 a.m. UTC | #1
On Mon, Sep 09, 2019 at 06:14:46PM +0800, Yang Xu wrote:
> This test will use xfs_quota -f option, this option was introduced
> since xfsprogs v4.10.0-rc1. On old version, we should skip this case.

Tested and ack.

Thanks!

> 
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
>  tests/generic/566 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/generic/566 b/tests/generic/566
> index e8491e54..173974ad 100755
> --- a/tests/generic/566
> +++ b/tests/generic/566
> @@ -34,6 +34,7 @@ _supported_os Linux
>  _supported_fs generic
>  _require_scratch
>  _require_quota
> +_require_xfs_quota_foreign
>  _require_user
>  
>  rm -f $seqres.full
> -- 
> 2.18.1
> 
> 
>
diff mbox series

Patch

diff --git a/tests/generic/566 b/tests/generic/566
index e8491e54..173974ad 100755
--- a/tests/generic/566
+++ b/tests/generic/566
@@ -34,6 +34,7 @@  _supported_os Linux
 _supported_fs generic
 _require_scratch
 _require_quota
+_require_xfs_quota_foreign
 _require_user
 
 rm -f $seqres.full