]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs: skip tests exercising data corruption and repair when using nodatasum
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Feb 2025 23:35:04 +0000 (23:35 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 14 Feb 2025 19:21:41 +0000 (03:21 +0800)
commit0bdc1e525b3a4e95df7f8df3f42f298b997ab4f0
tree5d2772bdc5a3e2ac4975ee94ba6e0e6f87119d5e
parentd449f1724e93321d300028eea9b29d375af8179d
btrfs: skip tests exercising data corruption and repair when using nodatasum

Several tests exercise corrupting data and then checking that on read the
data is repaired, but this requires using checksums, so the tests fail
when running with the nodatasum mount option.

So add a _require_btrfs_no_nodatasum call to these tests.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/140
tests/btrfs/141
tests/btrfs/157
tests/btrfs/158
tests/btrfs/215
tests/btrfs/265
tests/btrfs/266
tests/btrfs/267
tests/btrfs/268
tests/btrfs/269
tests/btrfs/289