summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-11-22 15:12:19 +0100
committerZorro Lang <zlang@kernel.org>2022-11-23 11:56:03 +0800
commit1e8502082ca94addc20b7cb0e86cbc6af397ebe0 (patch)
treee46f19de619d3b0dbb572bc1e1fb63b6a3bc83bd
parentacd67f0b2c5fe187db8540b4e65dc94ff9a939c8 (diff)
generic/614: Run test only for filesystems supporting delallocv2022.11.27
Simple filesystems such as ext2 or udf do not support delayed allocation. Thus they allocate data blocks for mmap writes only during writeback. This makes test generic/614 fail because it checks exactly whether the blocks for the write are reserved before writeback happens. Make the test depend on delayed allocation support. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/generic/6141
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/614 b/tests/generic/614
index 06630f22..3e2a587c 100755
--- a/tests/generic/614
+++ b/tests/generic/614
@@ -16,6 +16,7 @@ _begin_fstest auto quick rw
# real QA test starts here
_supported_fs generic
_require_scratch
+_require_scratch_delalloc
_scratch_mkfs >>$seqres.full 2>&1
_scratch_mount