All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jinhui Huang <huangjh.jy@cn.fujitsu.com>
To: <fstests@vger.kernel.org>
Cc: Jinhui Huang <huangjh.jy@cn.fujitsu.com>
Subject: [PATCH] xfs/153: add _require_idmapped_mounts check
Date: Fri, 30 Apr 2021 17:31:21 +0800	[thread overview]
Message-ID: <1619775081-3941-1-git-send-email-huangjh.jy@cn.fujitsu.com> (raw)

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>
---
 tests/xfs/153 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/xfs/153 b/tests/xfs/153
index ab2469d..19cfc46 100755
--- a/tests/xfs/153
+++ b/tests/xfs/153
@@ -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
-- 
1.8.3.1


             reply	other threads:[~2021-04-30  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30  9:31 Jinhui Huang [this message]
2021-04-30 15:39 ` [PATCH] xfs/153: add _require_idmapped_mounts check Darrick J. Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619775081-3941-1-git-send-email-huangjh.jy@cn.fujitsu.com \
    --to=huangjh.jy@cn.fujitsu.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.