From 35789abef179f717c610844fbdeec19de4febe9e Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Mon, 28 Feb 2022 08:50:08 +0800 Subject: [PATCH] btrfs-progs: tests: add test case for super num devs mismatch The new image has incorrect super num devices (have 8 expect 1). The image has to be raw format, as btrfs-image restore will reset super num devices to correct value. Signed-off-by: Qu Wenruo Signed-off-by: David Sterba --- .../055-super-num-devs-mismatch/default.raw.xz | Bin 0 -> 21976 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/055-super-num-devs-mismatch/default.raw.xz diff --git a/tests/fsck-tests/055-super-num-devs-mismatch/default.raw.xz b/tests/fsck-tests/055-super-num-devs-mismatch/default.raw.xz new file mode 100644 index 0000000000000000000000000000000000000000..b3a7b994505def77e2c5f6bec5f6c4cf5bc8fc57 GIT binary patch literal 21976 zcmeHPXH?VqwoPaeL+`za(xoUZ(gdj@NRbW!DN2!!6eR?a8brDvNN)jxbVLOyQlv;n zAp+6`LBxbA?YiE)`@Xz;?>Njjy6*aa%gUEz{nkEvpR-Tdm%e3U1_BW+ys1_r0C9ua zKp+rRpGnW*;Yp$%OAyFy|L`#P$)UP}2E8Zjs$N|@|3YpUWM_4bBX~%(?VKD~t0J%y zh0+$yB_Bf;%--XnHkdMHYP*S=@!hUXM3Ol*O?qqES!CI=6En|5X$7Q*Y!Fivsy5am za`&z^nhGSUO!*_ZHY?fqCD>Cs5k-W!ynclZq(m1+?seY89!YmvcQ%b8*vdUAwi-)M z@G+d$*~r>z#DI9np#+Z9(bVXm?%ibVm}2^H-i^hQ2;b;#Z?A+6$Q6O%)R{YKjTP-@Vgh z-+Ibmdm~OtoH(FkT7g~l6!9QQ0WQ6A$z}j9I)KkW7e)5f6TwT|DkwU26rVfCKBZgo zc<-AROL~JheT`FDDS_bDo^y2QG)o%mR!#%nL3Expn#tj|Aa!{Hm`*!7p~n`DGgTq! zA>Fn3x=V^?8_wZG4Nwvu>{#5TcY-!AM7Id zdei|)`(ozO%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