Index: e2fsprogs-cfs/tests/f_ea_checks/expect.1
===================================================================
--- /dev/null
+++ e2fsprogs-cfs/tests/f_ea_checks/expect.1
@@ -0,0 +1,57 @@
+Pass 1: Checking inodes, blocks, and sizes
+Inode 13 has a bad extended attribute block 26.  Clear? yes
+
+Inode 13, i_blocks is 4, should be 2.  Fix? yes
+
+Extended attribute in inode 14 has a hash (1649340189) which is invalid
+Clear? yes
+
+Inode 14, i_blocks is 2, should be 0.  Fix? yes
+
+Inode 17 has a bad extended attribute block 28.  Clear? yes
+
+Inode 17, i_blocks is 4, should be 2.  Fix? yes
+
+Inode 16 has a bad extended attribute block 29.  Clear? yes
+
+Inode 16, i_blocks is 2, should be 0.  Fix? yes
+
+Inode 19 has a bad extended attribute block 33.  Clear? yes
+
+Inode 19, i_blocks is 2, should be 0.  Fix? yes
+
+Inode 12 has a bad extended attribute block 55.  Clear? yes
+
+Inode 12, i_blocks is 2, should be 0.  Fix? yes
+
+Inode 15, i_blocks is 2, should be 0.  Fix? yes
+
+Pass 2: Checking directory structure
+Extended attribute block for inode 15 (/far) is invalid (999).
+Clear? yes
+
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Block bitmap differences:  -(26--29) -33 -55
+Fix? yes
+
+Free blocks count wrong for group #0 (481, counted=484).
+Fix? yes
+
+Free blocks count wrong (481, counted=484).
+Fix? yes
+
+Inode bitmap differences:  -18
+Fix? yes
+
+Free inodes count wrong for group #0 (47, counted=46).
+Fix? yes
+
+Free inodes count wrong (47, counted=46).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 18/64 files (0.0% non-contiguous), 28/512 blocks
+Exit status is 1
Index: e2fsprogs-cfs/tests/f_ea_checks/expect.2
===================================================================
--- /dev/null
+++ e2fsprogs-cfs/tests/f_ea_checks/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: 18/64 files (0.0% non-contiguous), 28/512 blocks
+Exit status is 0
Index: e2fsprogs-cfs/tests/f_ea_checks/image.gz
===================================================================
--- /dev/null
+++ e2fsprogs-cfs/tests/f_ea_checks/image.gz
@@ -0,0 +1,4 @@
+,;Gimage.new 	tT dDAVM$ybADA[-HKXU+UcQ(Z&3I8(R h-ARA$Z}y̻/rpվKJjJJ2'TDY+gu^5$szJoK9[]lW5qo]zчg֏T|J[λg[4<?n>7jS7tкq|R}KKFz2*]}K8_|U>0 7yV:L9Ʃp(ZJAMFF2%dɨɨ(ۦΗ?edɨICv/GeA;}&A~{uw!ȿP4kxi_ށ8.MFg+;̯d	E9DS-     ߠ{GZ~Z)UBGC+ԁy}G?h)FV'zOcʟIn[ljZzayS3^ZEt ?@P?m#ߦe}P
+}}  ;Lj7])gO(8;9مCf{b󳖷>&vi>}WĎh>6jئY5#R.XZkmYߕ>.4.|\[nN➬_~gKsқVt\,c؜fcZ\ԿQ^Մw_7kj^7_Y.iDxYi-X:qAď:,[9X&Ͼ.wr,>1r]ta-r_[e犟s҅K/2c5K^J^|27qDҹtk|qaA[Ң;+:jr[37XճdÓK̝\RscIʐ[Kz*Β&kYک{Ly4чvr8#s#=svk3~sJNVm՗+vI\xZu+>e*k,Ll:{6hJsy%&x#Ƕ	6=5)[i,ؔ2gcpQOMx8on0qɄ`5=]o{]|"gKn8.ĶuCۜly`꠬Xg%W.kD/"u=hgG'^U3\`9{Edn_N^}RbUWIP#÷k43?8őFfܾ*rnGB5V7(#s?l죉-V&>Xv{͙7{rA
+ZPڻM;?~i0l9nȸ`Fbى]xo|p/w7XtR4{CFu?l蝢7Ii}_bxi$^R:)8 ֠ogߝ<|93i"/z&Q/{۫%9*3ѫuĬ_l_ۥJ{K#9: ;ᦓ3.,V5PEC
+:=rl#ZY"GP}:lP4iڜճ-2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |98y   
\ No newline at end of file
Index: e2fsprogs-cfs/tests/f_ea_checks/name
===================================================================
--- /dev/null
+++ e2fsprogs-cfs/tests/f_ea_checks/name
@@ -0,0 +1 @@
+extended attribute block checks
