From patchwork Mon Nov 14 06:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jie2x Zhou X-Patchwork-Id: 1703428 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Hbftm/75; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N9fNN1GyGz23nQ for ; Mon, 14 Nov 2022 17:21:53 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id A6D8E3CD21E for ; Mon, 14 Nov 2022 07:21:50 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 3B8373C9378 for ; Mon, 14 Nov 2022 07:21:47 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id C79AF20039E for ; Mon, 14 Nov 2022 07:21:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668406906; x=1699942906; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iT4XSX+v3/wlTllModspCS/+Bu9TquiHGcQECObxFQA=; b=Hbftm/75oC3bTT/XfGTnoQ2g+S8ufYayjT/jauBWKPkhJoTHqNsnOHs9 u/T4kKzuWudWdLZlVBvuwXvkjGZiHM1qjZbrsZZH5b+Gn5NZO8Hgeut5h 2mRf9RI0ExIxeY4E8mxS9KAjeRGPPxHonVxZpLuJ2xheoXjtDXW0W2ysN 17r3yNOAQ8+CvXor2Db+j37dbioRSyCRx/IFNBHOMxYM4JvQEVY3L+G93 ykB5KQTwLKv9C1e3j7LtSfCi1sSTRQqGhUCQt++KsUEb6DWZl5IqEtrIC EboAkSbdellTLUZzMtl4+LKAv5w0manbXV+jnxcarB4GvELWFBP7urqxl g==; X-IronPort-AV: E=McAfee;i="6500,9779,10530"; a="338676886" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="338676886" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2022 22:21:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10530"; a="967443467" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="967443467" Received: from wenjiaoy-mobl.ccr.corp.intel.com (HELO jiezho4x-mobl1.ccr.corp.intel.com) ([10.254.211.215]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2022 22:21:39 -0800 From: Jie2x Zhou To: jie2x.zhou@intel.com, ltp@lists.linux.it Date: Mon, 14 Nov 2022 14:20:08 +0800 Message-Id: <20221114062008.999566-1-jie2x.zhou@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-7.smtp.seeweb.it Subject: [LTP] [PATCH] test_robind.sh: fix BROK: mkfs.f2fs /dev/sdb1 failed X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philip Li Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Error output: test_robind 1 TINFO: Formatting /dev/sda1 with f2fs extra opts='' F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2020-08-24) Info: Disable heap-based policy Info: Debug level = 0 Info: Trim is enabled /dev/sda1 appears to contain an existing filesystem (f2fs). Use the -f option to force overwrite. test_robind 1 TBROK: mkfs.f2fs /dev/sda1 failed Reason: Test error is caused by miss "-f" option when do mkfs.f2fs. Signed-off-by: Jie2x Zhou --- testcases/kernel/fs/fs_readonly/test_robind.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/kernel/fs/fs_readonly/test_robind.sh b/testcases/kernel/fs/fs_readonly/test_robind.sh index bab2648f4..2d9a87b7e 100755 --- a/testcases/kernel/fs/fs_readonly/test_robind.sh +++ b/testcases/kernel/fs/fs_readonly/test_robind.sh @@ -200,6 +200,8 @@ for fstype in $FSTYPES; do opts="-F" elif [ "$fstype" = "xfs" ]; then opts="-f" + elif [ "$fstype" = "f2fs" ]; then + opts="-f" elif [ "$fstype" = "btrfs" ]; then opts="-f" fi