]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/767: require fallocate support
authorDarrick J. Wong <djwong@kernel.org>
Tue, 29 Jul 2025 20:09:01 +0000 (13:09 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Aug 2025 14:15:17 +0000 (22:15 +0800)
This test fails on filesystems that don't support fallocate, so screen
them out.

Cc: fstests@vger.kernel.org # v2025.07.13
Fixes: fa8694c823d853 ("generic: various atomic write tests with hardware and scsi_debug")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/767

index 758222f4f8666b148145c9cd83c08d2b6ddc175a..31d599eacfd63b2bafce51cbd99d5f74ad7c2378 100755 (executable)
@@ -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