[v2] xfstest: Update skip condition of generic/469,499
diff mbox series

Message ID 20191017071522.323-1-misono.tomohiro@jp.fujitsu.com
State New
Headers show
Series
  • [v2] xfstest: Update skip condition of generic/469,499
Related show

Commit Message

Misono Tomohiro Oct. 17, 2019, 7:15 a.m. UTC
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(+)

Patch
diff mbox series

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"