From 72a37dca27e24aa9988528745518217064c3ca31 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 18 Aug 2021 00:39:22 -0400 Subject: [PATCH] btrfs-progs: tests: add image with a corrupt block group item This image has a broken used field of a block group item to validate fsck does the correct thing. Reviewed-by: Qu Wenruo Signed-off-by: Josef Bacik Signed-off-by: David Sterba --- .../.lowmem_repairable | 0 .../050-invalid-block-group-used/default.img.xz | Bin 0 -> 1036 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/050-invalid-block-group-used/.lowmem_repairable create mode 100644 tests/fsck-tests/050-invalid-block-group-used/default.img.xz diff --git a/tests/fsck-tests/050-invalid-block-group-used/.lowmem_repairable b/tests/fsck-tests/050-invalid-block-group-used/.lowmem_repairable new file mode 100644 index 00000000..e69de29b diff --git a/tests/fsck-tests/050-invalid-block-group-used/default.img.xz b/tests/fsck-tests/050-invalid-block-group-used/default.img.xz new file mode 100644 index 0000000000000000000000000000000000000000..6425ba16349395416fc1918ce4c386059d618409 GIT binary patch literal 1036 zcmV+n1oQj-H+ooF000E$*0e?f03iVu0001VFXf}+6aNFrT>wRyj;C3^v%$$4d1rE0 zjjaF1$8Jv*pMMbE@{&83eAipquzP5y*Z^dMFaaah{5${uN^u50JUj3Gv&TKFetZNb zeGi-h_Sc-xdQ?TDr}!X-75pO3s7;Q#Cs@eB}(-tDiTrOkuL zr-`Q{!4@d7$vYR${O40b$KD!sxV##0^*`8ePjSki5__Mw0>a{sam+nk%_Taf1QUIl zCPC+p!>ol%J~2Y3anuU4qT<_;R2!C0z*;OS_XlH|4cwp*YYCcEjpgm>gLEL94KJ)NIDw(fAxBE)HBeuH?SFG)P2n*qCcX@dj zl6!cB_HK~tM6u@FF~?28(XL*Vme;}!4%~G!$l6uxm(%@F-`~K9;P=VVx6iDWsw2&F)MC!ne z{yU2uSdn?OJQk99D$H$r|?eQ%u-&&dW^Q%ogbbG`T74qDMIaXhLRLP+j+OmK|vlc6+Q+8 z>i9;tP|5yL$Hg>IZhAK@v(3YzO&IxH_W