From patchwork Wed May 26 01:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 12280491 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C569AC47087 for ; Wed, 26 May 2021 01:47:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A82646142B for ; Wed, 26 May 2021 01:47:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232854AbhEZBsg (ORCPT ); Tue, 25 May 2021 21:48:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:58218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbhEZBsf (ORCPT ); Tue, 25 May 2021 21:48:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D86A261423; Wed, 26 May 2021 01:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621993624; bh=Ic35hC7EPCU07+4reuiMLFOoohp+MDwsSTuofpKGWSk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=pUILpvCqxoZt96vT9J575onMLQWMBN0njrQLpcGGNvJw0rVpyGvZ2VpDEdwKyvniW B0RuXrTOK0cwIHSPGcf0FISr4GreqijSRZKL4ALVUUY8ywms62Tp+uADx253I/zSWx bIfnLyJqFT5ESR9LlivEusdu+L6MFBXp9z5+YEMp1TgUkJ/223VEPIhWNMwsqZj2i/ BSPq7V43/Vq9omElc+v3aXd3aamFSUZmSbFwRPRUOfCosITBmZ9YZU0B4d6EsbyYXn 0ErL58jynwotVEhqxwKmnsatCFFIsoddULRPoVLZ4lc/IL1grg5RUckgCiJ51LBNHO 3NRs2a3Jan/Tw== Subject: [PATCH 04/10] fstests: move test group info to test files From: "Darrick J. Wong" To: djwong@kernel.org, guaneryu@gmail.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me Date: Tue, 25 May 2021 18:47:04 -0700 Message-ID: <162199362461.3744214.7536635976092405399.stgit@locust> In-Reply-To: <162199360248.3744214.17042613373014687643.stgit@locust> References: <162199360248.3744214.17042613373014687643.stgit@locust> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org From: Darrick J. Wong Migrate all the test group information into the test files. This patch has been autogenerated via the command: ./tools/convert-group btrfs ceph cifs ext4 f2fs generic nfs ocfs2 overlay perf shared udf xfs (NOTE: I truncated this patch to the first five conversions because nobody wants to read a 1MB patch LOL) Signed-off-by: Darrick J. Wong --- tests/btrfs/001 | 8 ++------ tests/btrfs/002 | 8 ++------ tests/btrfs/003 | 8 ++------ tests/btrfs/004 | 8 ++------ 4 files changed, 8 insertions(+), 24 deletions(-) diff --git a/tests/btrfs/001 b/tests/btrfs/001 index fb051e8a..2248b6f6 100755 --- a/tests/btrfs/001 +++ b/tests/btrfs/001 @@ -6,13 +6,9 @@ # # Test btrfs's subvolume and snapshot support # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" +. ./common/test_names +_set_seq_and_groups auto quick subvol snapshot -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! _cleanup() { diff --git a/tests/btrfs/002 b/tests/btrfs/002 index 66775562..4de0a3d7 100755 --- a/tests/btrfs/002 +++ b/tests/btrfs/002 @@ -6,13 +6,9 @@ # # Extented btrfs snapshot test cases # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" +. ./common/test_names +_set_seq_and_groups auto snapshot -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! _cleanup() { diff --git a/tests/btrfs/003 b/tests/btrfs/003 index fbb313fb..f1e06af5 100755 --- a/tests/btrfs/003 +++ b/tests/btrfs/003 @@ -6,13 +6,9 @@ # # btrfs vol tests # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" +. ./common/test_names +_set_seq_and_groups auto replace volume balance -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! dev_removed=0 removed_dev_htl="" trap "_cleanup; exit \$status" 0 1 2 3 15 diff --git a/tests/btrfs/004 b/tests/btrfs/004 index 0458d2b6..d7071d80 100755 --- a/tests/btrfs/004 +++ b/tests/btrfs/004 @@ -9,13 +9,9 @@ # run filefrag to get the extent mapping and follow the backrefs. # We check to end up back at the original file with the correct offset. # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" +. ./common/test_names +_set_seq_and_groups auto rw metadata -here=`pwd` -tmp=/tmp/$$ -status=1 noise_pid=0 _cleanup()