xfs/153: add _require_idmapped_mounts check

When this case runs on system without mount_setattr syscall support, it
will report errors rather than skip. so we add _require_idmapped_mounts
to check if mount_setattr syscall is supported.

Signed-off-by: Jinhui Huang <huangjh.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Jinhui Huang
2021-04-30 17:31:21 +08:00
committed by Eryu Guan
parent 2837d7c32d
commit e3a972a752
+1
View File
@@ -39,6 +39,7 @@ chmod a+rwx $seqres.full # arbitrary users will write here
_require_scratch
_require_xfs_quota
_require_user fsgqa
_require_idmapped_mounts
_require_test_program "idmapped-mounts/mount-idmapped"
_scratch_mkfs >/dev/null 2>&1