From patchwork Sun Jul 1 13:48:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zheng Liu X-Patchwork-Id: 168431 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5A7772C01C1 for ; Sun, 1 Jul 2012 23:42:12 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932455Ab2GANmB (ORCPT ); Sun, 1 Jul 2012 09:42:01 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:58131 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932459Ab2GANly (ORCPT ); Sun, 1 Jul 2012 09:41:54 -0400 Received: by mail-pb0-f46.google.com with SMTP id rp8so6469913pbb.19 for ; Sun, 01 Jul 2012 06:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=PWYvrxXFHB1Kxp4yJM74voVOxbS4LYgHiucoF5vAnec=; b=medoyOhtDC8QH4iYXJIupJtEAcE+zPXNmGdCms0+u3ccmUMA2vQhMFIfBybbg4yuz2 Rq6IIt0azwc8Wg/qw+GWayUb+9NfcVVQP0j9pNBUQzHCnTDwjTTBjFl4kV5HpMCnrQZg 8djCMURucrE1Y98oN0rqh4CjrwffdXhEoVGYvqV2qyevwlXacd1YgGH5PVAwmQLk/3tY 52GfPQpkF6yTXzfADckaZQTzOtOE1/BMccuxNW5Qlv35mK+2tDP0CNGDHvOkl0SzHWab glw9xAI59YzAY8RU/tgULy5IUFHr3oe8ow4EaTZJvrUr/4fPP0ptr/yoGBNeuw6qogja tw/w== Received: by 10.68.129.198 with SMTP id ny6mr22044146pbb.22.1341150114498; Sun, 01 Jul 2012 06:41:54 -0700 (PDT) Received: from localhost.localdomain ([182.92.247.2]) by mx.google.com with ESMTPS id ql3sm10544254pbc.72.2012.07.01.06.41.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Jul 2012 06:41:54 -0700 (PDT) From: Zheng Liu To: linux-ext4@vger.kernel.org Cc: Zheng Liu Subject: [PATCH 35/35 v3] tests: change test f_bad_disconnected_inode to support inline_data feature Date: Sun, 1 Jul 2012 21:48:58 +0800 Message-Id: <1341150538-32047-36-git-send-email-wenqing.lz@taobao.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1341150538-32047-1-git-send-email-wenqing.lz@taobao.com> References: <1341150538-32047-1-git-send-email-wenqing.lz@taobao.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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