btrfs-progs/tests/misc-tests/049-btrfstune-transid-mismatch
Qu Wenruo 3c7e75eefb btrfs-progs: tests: test case to make sure btrfstune rejects corrupted fs
Although btrfstune will already warn users to make sure the fs is not
corrupted, we can never trust end users.

If the target fs has transid error, btrfstune can cause further damage,
thus we need to make sure btrfstune can safely reject fs with transid
error, other than ignoring the problem.

The image is copied from fsck-tests/002, just override check_image() to
run "btrfstune -u" instead.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-09-20 12:26:20 +02:00
..
default_case.img btrfs-progs: tests: test case to make sure btrfstune rejects corrupted fs 2021-09-20 12:26:20 +02:00
test.sh btrfs-progs: tests: test case to make sure btrfstune rejects corrupted fs 2021-09-20 12:26:20 +02:00