btrfs: require no nodatacow for tests that exercise read repair

Several test cases that exercise the ability to detect corrupted data and
repair it, fail when "-o nodatacow" is passed to MOUNT_OPTIONS, because
that ability requires the existence of data checksums, and those are
disabled in nodatacow mode. So skip the tests when "-o nodatacow" is

Signed-off-by: Filipe Manana <>
Reviewed-by: David Disseldorp <>
Signed-off-by: Zorro Lang <>
11 files changed