btrfs-progs/tests/fsck-tests/035-inline-bad-ram-bytes/test.sh
Qu Wenruo 866740418c btrfs-progs: fsck-tests: Add test case for corrupted inline ram_bytes
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-08-06 15:01:16 +02:00

12 lines
309 B
Bash
Executable File

#!/bin/bash
# Around 2014, btrfs kernel has a regression that create inline extent
# with ram_bytes offset by one.
# This old regression could be caught by tree-check code.
# This test case will check if btrfs check could detect and repair it.
source "$TEST_TOP/common"
check_prereq btrfs
check_all_images