From: Andreas Dilger <andreas.dilger@xxxxxxxxx> Change-Id: I2132b8150156bfccbe9304b9fe5dfc3638f13884 Signed-off-by: Andreas Dilger <andreas.dilger@xxxxxxxxx> Signed-off-by: Andreas Dilger <artem.blagodarenko@xxxxxxxxx> --- tests/f_bad_ea_value/expect.1 | 11 +++++++++++ tests/f_bad_ea_value/expect.2 | 7 +++++++ tests/f_bad_ea_value/image.gz | Bin 0 -> 11492 bytes tests/f_bad_ea_value/name | 1 + 4 files changed, 19 insertions(+) create mode 100644 tests/f_bad_ea_value/expect.1 create mode 100644 tests/f_bad_ea_value/expect.2 create mode 100644 tests/f_bad_ea_value/image.gz create mode 100644 tests/f_bad_ea_value/name diff --git a/tests/f_bad_ea_value/expect.1 b/tests/f_bad_ea_value/expect.1 new file mode 100644 index 00000000..7bfe6ac5 --- /dev/null +++ b/tests/f_bad_ea_value/expect.1 @@ -0,0 +1,11 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 13 extended attribute is corrupt (allocation collision). Clear? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/2048 files (0.0% non-contiguous), 1293/2048 blocks +Exit status is 1 diff --git a/tests/f_bad_ea_value/expect.2 b/tests/f_bad_ea_value/expect.2 new file mode 100644 index 00000000..0f0e6829 --- /dev/null +++ b/tests/f_bad_ea_value/expect.2 @@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 13/2048 files (0.0% non-contiguous), 1293/2048 blocks +Exit status is 0 diff --git a/tests/f_bad_ea_value/image.gz b/tests/f_bad_ea_value/image.gz new file mode 100644 index 0000000000000000000000000000000000000000..1e5d8ca5e9cf6ec834d048ea56d7350c7acb5329 GIT binary patch literal 11492 zcmeI%Yfux{9sqDGRoeQ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O z-n`aMbJFT(W~B4Qn5Kj|vedYX5(X}`@(8B!w~Be76n;Nu81}w=LgF$=#QAetpQk4I zHEz?KZZ$8x(>OVHLn!M^{yr<~?tMz;&T`&i4oyGqslR$Yf}rXNvor4(;&<C=&v&il z>LagvTrQ8hKYk~(`JPRW>Vgd2HnD>A5|6F=sd}~7twu>_eVg{|q9wzc_|8}UiW;Q8 zv-(Q>ThY=6!b=t@C909t_J(~hv8mMBMn9@?=b!qr;!5<cRa@NM`+s!Hq~>D_d@Am> zwCs0yh*yQLEF4xf?_)*WJjy$~w{NJNpwBcacHa9@``9SD`{QHdoqKVu9A?77n2}CV zb8^tht?9-oOf)?@zrD1CMZh9p5wHkY1S|p;0gHe|z#?D~un1TLECPQmfj@F042b}p zuV1~-7s)?aB6K80Pu!~Jz%%oIn;pH)+0I3dWK_p&;jpe;x#BSqQoipf`(sw9e;Rdm z=-Gj#dO}y`Iki^wTc+_aAv0>W8@J@>kM^Ev-;|Gy-yt+a$C2nW-_d=QEek8-&n>B` za?uUf880ueHci>fQ*%aN>s;lPL(JwQK?$_f!gg_CLQma{oiMUy@b-=-(^T6Phr)`X zgBLR&xAA={DC<|e%($Jc9UnU$_Rw=_gY5$+zXtcPo-Q{g`{NKF?ok@Ayt%s5qe4;F zEb*wQOCP@`@)U=!3ID=RE;-)U`Sb(LH-9aDOEwk(i-1MIB481)2v`LEYyqstaqUO* fNxWyo)V9PwI~~jT7J>g1ICCJ^DxPO$b;jzS08>1M literal 0 HcmV?d00001 diff --git a/tests/f_bad_ea_value/name b/tests/f_bad_ea_value/name new file mode 100644 index 00000000..407dca3f --- /dev/null +++ b/tests/f_bad_ea_value/name @@ -0,0 +1 @@ +invalid value of in-inode EA offset -- 2.14.3