From patchwork Tue Jul 31 11:48:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [35/36, v4] tests: change test f_bad_disconnected_inode to support inline_data feature Date: Tue, 31 Jul 2012 01:48:28 -0000 From: Zheng Liu X-Patchwork-Id: 174252 Message-Id: <1343735309-30579-36-git-send-email-wenqing.lz@taobao.com> To: linux-ext4@vger.kernel.org Cc: Zheng Liu From: Zheng Liu In this test, inode flag is some random data, and when we apply inline data patch set we should need to handle it. Signed-off-by: Zheng Liu --- tests/f_bad_disconnected_inode/expect.1 | 27 ++++++++++++--------------- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/tests/f_bad_disconnected_inode/expect.1 b/tests/f_bad_disconnected_inode/expect.1 index 11862f6..9b7f7d8 100644 --- a/tests/f_bad_disconnected_inode/expect.1 +++ b/tests/f_bad_disconnected_inode/expect.1 @@ -2,7 +2,16 @@ Pass 1: Checking inodes, blocks, and sizes Inode 1 has EXTENTS_FL flag set on filesystem without extents support. Clear? yes -Inode 15 has EXTENTS_FL flag set on filesystem without extents support. +Inode 11 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 13 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 14 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 15 has INLINE_DATA_FL flag set on filesystem without inline data support. Clear? yes Inode 16 has EXTENTS_FL flag set on filesystem without extents support. @@ -15,18 +24,6 @@ Pass 3: Checking directory connectivity Pass 4: Checking reference counts Inode 2 ref count is 4, should be 3. Fix? yes -i_file_acl for inode 13 (...) is 4218798225, should be zero. -Clear? yes - -Inode 13 (...) has invalid mode (0117003). -Clear? yes - -i_file_acl for inode 14 (...) is 2892851642, should be zero. -Clear? yes - -Inode 14 (...) has invalid mode (0154247). -Clear? yes - Pass 5: Checking group summary information Block bitmap differences: -(9--19) Fix? yes @@ -37,13 +34,13 @@ Fix? yes Free blocks count wrong (79, counted=91). Fix? yes -Free inodes count wrong for group #0 (6, counted=5). +Free inodes count wrong for group #0 (4, counted=5). Fix? yes Directories count wrong for group #0 (3, counted=2). Fix? yes -Free inodes count wrong (6, counted=5). +Free inodes count wrong (4, counted=5). Fix? yes