fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] xfstest: Update skip condition of generic/469,499
@ 2019-10-17  7:15 Misono Tomohiro
  0 siblings, 0 replies; only message in thread
From: Misono Tomohiro @ 2019-10-17  7:15 UTC (permalink / raw)
  To: fstests

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-17  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17  7:15 [PATCH v2] xfstest: Update skip condition of generic/469,499 Misono Tomohiro

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).