From: Darrick J. Wong Date: Tue, 24 May 2022 19:52:19 +0000 (-0700) Subject: xfs/545: check for fallocate support before running test X-Git-Tag: v2022.05.29~10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a8812199578bcfebb80b66dcad7b0ff5919aa4b6;p=xfstests-dev.git xfs/545: check for fallocate support before running test This test fails when alwayscow mode is enabled: QA output created by 545 +fallocate: Operation not supported Creating directory system to dump using fsstress. Fix this by checking for fallocate support first. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/545 b/tests/xfs/545 index e3dd300a..dfe2f2dc 100755 --- a/tests/xfs/545 +++ b/tests/xfs/545 @@ -14,6 +14,7 @@ _begin_fstest auto quick dump . ./common/dump _supported_fs xfs +_require_xfs_io_command "falloc" _require_scratch # A large stripe unit will put the root inode out quite far