8/19 e2fsprogs f_extents_eh_entries test
PATCH 1/1 8/19 e2fsprogs f_extents_eh_entries test
Regression test for a bad eh_entries field in an extent file. Binary patch file.
Signed-off-by Andreas Dilger <[email protected]>
Signed-off-by Girish Shilamkar <[email protected]>
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
tests/f_extents_eh_entries/expect.1 new file +15 -0
@@ -0,0 +1,15 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has corrupt extent at block 0 (logical 0) length 0 +Clear? yes + +Inode 12 has corrupt extent at block 0 (logical 0) length 0 +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: 12/4016 files (0.0% non-contiguous), 3154/16032 blocks +Exit status is 1
tests/f_extents_eh_entries/expect.2 new file +7 -0
@@ -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: 12/4016 files (0.0% non-contiguous), 3154/16032 blocks +Exit status is 0
tests/f_extents_eh_entries/name new file +1 -0
@@ -0,0 +1 @@ +corrupt eh_entries
tests/f_extents_eh_entries/image.gz new file +3 -0
@@ -0,0 +1,3 @@ +�8Z�Eimage �� ԥs������lf��3����)E$��k�Veɞ�K5�TT�����h����*�%J�h�d)D��cf�F���N�_���9���{����9�>��{������ x�:k�`p�ڃ�R#���U�S�=4�K�蚱���[���)54Xd��-C,wR�Sn~`�Y7��֨Zo��W�6m��.Z��7=p��[����7���7�~�Q�w�aG��-7�<<���8���<5���j�Z���j�Z��ɵ���k���9���q:��X��cT����> ����7b#����cK��^?�x����wV��Ax�3@�����:2yȱȐ��G���<o���74�8�ɫ��������*�4� �}����~�p�F��Sck\�U�kBM�'�S���'?l�L�����<p�f�13�~94�?��ֺiw[ ��K�5q04��_^����`��λ��������L�o0�rd�О���v;켭g�l�n��12c���<`��?`��?`��?`��?`��?0'8�5�}p5����4+�6m�~G]��q�oz�����3����?}�/��g6f���Gϸ���H�����I�݇�u#3w��w�g,x���$#Kv����f�x���ۏU���<s�Y�:�Yt��:���U�kL��q5W�� 5�8#r��?'Nn��������_�2����=0O�3fƽ�/�����q�Z7�nK�H�����kK�F����&�� �%g4}�?��94Xd��-C,��x�r��W�ӿSd������#�7��7���7�~�Q�w�aG��-7�<<���8���<5���j�Z���j�Z��ɵ�C�0���������ם1Q�������!C˧< +M���~��oh0q���ozd����3�̹��cK��������� ���bC�����Z�_O�%k�zb-]�ԓ�ɵl=������B�X+�ʵJ=�V���3j�zf=�V�5�ٵf�Uϩ�빵N�[���j�ڠ6���j�ڸ^X/�הڤ6��j�ڢ����K�e��zEmU��Wի�5��z]m]��7�6�mmW��k�ڱv��k�ڵv�7����ڣ���j�ڧ���j�:����[�m5���A��zG\�wջ�:��S���auxQG�QutS����:�>T����uB}�N����:�N�����X}�>Q��Oէ�3uF�Yg�g�s���B�]���K���J�[��W�k��:�.�oԅuQ]\߬oշ�;���^]R߯K벺�~P?�+�ʺ����5um��~R��O���Y��~Q��_� uc��~S�������C�\�[�Ouk�V�����K�Yw�����}u�������Q5�����Ws���Pk&ռ5_�_Ԃ�P-\�Ԣ5�? �72,1�s�5�k�/Q��'Ԓ�T=���e�I��Z��R��Sk�Z�V��j�Z��V�����Z=��U����Z�֪�����Z�֭��y�~mP����Qm\/�ՋkJmR��f�ymQ[�K���zy����W֫����zm������j�ڶ���덵C�X;�εK�Z�՛j�zs�Q{�^�w�S��~�P�[����Z��z{���wֻ��uHZ�����:���#�:������ulW��G��:�>Z'�Iur�R��iuz}�>^��O֧����:�ά�����|}�ήs����r}�έ�����z�_�7�º�.�oַ�����n}�.��ץuY]^?��ue]UWꚺ�~\?���u}��~^��_֯ꆺ�~]�������uS��n�?�-����n����s�����k�S���꾺�틇j�FjT��15���\5�&�Ě��I5o�W���`-T�"�hM��j�� �pK���'Ԓ�T=���e�I��Z��R��Sk�Z�V��j�Z��V�����Z=��U����Z�֪�����Z�֭��y�~mP����Qm\/�ՋkJmR��f�ymQ[�K���zy����W֫����zm������j�ڶ���덵C�X;�εK�Z�՛j�zs�Q{�^�w�S��~�P�[����Z��z{���wֻ��uHZ�����:���#�:������ulW��G��:�>Z'�Iur�R��iuz}�>^��O֧����:�ά�����|}�ήs����r}�έ�����z�_�7�º�.�oַ�����n}�.��ץuY]^?��ue]UWꚺ�~\?���u}��~^��_֯ꆺ�~]�������uS��n�?�-����n����s�����k�S���꾺������U�kL��q5W�� 5��yjR�[����@-X�µH-Z�k�Z�7�� <��G O�%k�zb-]�ԓ�ɵl=������B�X+�ʵJ=�V���3j�zf=�V�5�ٵf�Uϩ�빵N�[���j�ڠ6���j�ڸ^X/�הڤ6��j�ڢ����K�e��zEmU��Wի�5��z]m]��7�6�mmW��k�ڱv��k�ڵv�7����ڣ���j�ڧ���j�:����[�m5���A��zG\�wջ�:��S���auxQG�QutS����:�>T����uB}�N����:�N�����X}�>Q��Oէ�3uF�Yg�g�s���B�]���K���J�[��W�k��:�.�oԅuQ]\߬oշ�;���^]R߯K벺�~P?�+�ʺ����5um��~R��O���Y��~Q��_� uc��~S�������C�\�[�Ouk�V�����K�Yw�����}u FC5\#5�Fט[�j�_jb�]�Ԥ����G�� ����gI( +8|�)Q��4�����Պ�*B� �Bmm5�Z�����oP�M�� �����}��"G< ��sWL�r#��ᔚ�)]�<�{�R��Bg���n�TJ�o���s��}���hԈ)����k''���͋�ݣ�����_�o������Bnv�yv�Z�핳��~�c,��MD��T4�D��\T��rT�z�m���۾�O��k塐}�{?����) ��ώ�B�W�_p���� �h ��uG 5F� ��