[PATCH 3/7] generic/767: require fallocate support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Darrick J. Wong <djwong@xxxxxxxxxx>

This test fails on filesystems that don't support fallocate, so screen
them out.

Cc: <fstests@xxxxxxxxxxxxxxx> # v2025.07.13
Fixes: fa8694c823d853 ("generic: various atomic write tests with hardware and scsi_debug")
Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
---
 tests/generic/767 |    2 ++
 1 file changed, 2 insertions(+)


diff --git a/tests/generic/767 b/tests/generic/767
index 758222f4f8666b..31d599eacfd63b 100755
--- a/tests/generic/767
+++ b/tests/generic/767
@@ -23,6 +23,8 @@ _cleanup()
 _require_scsi_debug
 _require_scratch
 _require_block_device $SCRATCH_DEV
+_require_xfs_io_command "falloc"
+
 # Format something so that ./check doesn't freak out
 _scratch_mkfs >> $seqres.full
 





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux