From: Qu Wenruo Date: Tue, 10 Oct 2017 07:32:28 +0000 (+0800) Subject: btrfs-progs: tests/fsck: Add test case image for 'rescue fix-dev-size' X-Git-Tag: upstream/4.16.1~287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a78f577a3d46b5fc75d88db600a97e32a3f4a26;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: tests/fsck: Add test case image for 'rescue fix-dev-size' The image has 2 problems mixed: 1) Too small super total_bytes This super total_bytes is manually modified to create such problem. 2) Unaligned dev item total_bytes This is created by v4.12 kernel, with 128M + 2K device added, and original device removed. Then we can create such image with unaligned dev item total_bytes. Signed-off-by: Qu Wenruo Reviewed-by: Nikolay Borisov Signed-off-by: David Sterba --- diff --git a/tests/fsck-tests/028-unaligned-super-dev-sizes/dev_and_super_mismatch_unaligned.raw.xz b/tests/fsck-tests/028-unaligned-super-dev-sizes/dev_and_super_mismatch_unaligned.raw.xz new file mode 100644 index 0000000..153e514 Binary files /dev/null and b/tests/fsck-tests/028-unaligned-super-dev-sizes/dev_and_super_mismatch_unaligned.raw.xz differ