fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
To: <fstests@vger.kernel.org>
Subject: [PATCH v2] xfstest: Update skip condition of generic/469,499
Date: Thu, 17 Oct 2019 16:15:22 +0900	[thread overview]
Message-ID: <20191017071522.323-1-misono.tomohiro@jp.fujitsu.com> (raw)

These test require fallocate keep size/zero range/punch hole.
Update the skip condition to avoid false negative on unsupported FS.

Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
---
 tests/generic/469 | 3 +++
 tests/generic/499 | 1 +
 2 files changed, 4 insertions(+)

diff --git a/tests/generic/469 b/tests/generic/469
index 47fdf0cf..8a5a2483 100755
--- a/tests/generic/469
+++ b/tests/generic/469
@@ -40,6 +40,9 @@ rm -f $seqres.full
 _supported_fs generic
 _supported_os Linux
 _require_test
+_require_xfs_io_command "falloc" "-k"
+_require_xfs_io_command "fzero"
+_require_xfs_io_command "fpunch"
 
 run_fsx()
 {
diff --git a/tests/generic/499 b/tests/generic/499
index 773eab2e..b3363ac4 100755
--- a/tests/generic/499
+++ b/tests/generic/499
@@ -28,6 +28,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_xfs_io_command "falloc" "-k"
 _require_xfs_io_command "fcollapse"
 _require_xfs_io_command "fzero"
 
-- 
2.21.0


                 reply	other threads:[~2019-10-17  7:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20191017071522.323-1-misono.tomohiro@jp.fujitsu.com \
    --to=misono.tomohiro@jp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).