From 5a78f577a3d46b5fc75d88db600a97e32a3f4a26 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Tue, 10 Oct 2017 15:32:28 +0800 Subject: 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 --- .../dev_and_super_mismatch_unaligned.raw.xz | Bin 0 -> 21536 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/028-unaligned-super-dev-sizes/dev_and_super_mismatch_unaligned.raw.xz (limited to 'tests/fsck-tests') 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 00000000..153e514a Binary files /dev/null and b/tests/fsck-tests/028-unaligned-super-dev-sizes/dev_and_super_mismatch_unaligned.raw.xz differ -- cgit v1.2.3