From patchwork Sat Dec 19 09:11:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 7889701 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F0CCC9F1C2 for ; Sat, 19 Dec 2015 09:13:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00537204D9 for ; Sat, 19 Dec 2015 09:13:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F008F204D8 for ; Sat, 19 Dec 2015 09:13:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932164AbbLSJMR (ORCPT ); Sat, 19 Dec 2015 04:12:17 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:17169 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753790AbbLSJLL (ORCPT ); Sat, 19 Dec 2015 04:11:11 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tBJ9B8oG030537 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 19 Dec 2015 09:11:08 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id tBJ9B7oQ025711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 19 Dec 2015 09:11:07 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id tBJ9B7Hq010894; Sat, 19 Dec 2015 09:11:07 GMT Received: from localhost (/24.21.154.84) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 19 Dec 2015 01:11:07 -0800 Subject: [PATCH 02/11] tests: don't leave cruft behind on the TEST_MNT From: "Darrick J. Wong" To: david@fromorbit.com, darrick.wong@oracle.com Cc: linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, fstests@vger.kernel.org, xfs@oss.sgi.com Date: Sat, 19 Dec 2015 01:11:05 -0800 Message-ID: <20151219091105.15320.69176.stgit@birch.djwong.org> In-Reply-To: <20151219091052.15320.94973.stgit@birch.djwong.org> References: <20151219091052.15320.94973.stgit@birch.djwong.org> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Don't leave cruft behind on the test device's filesystem, so as to avoid filling it with debris. Signed-off-by: Darrick J. Wong --- tests/generic/110 | 2 +- tests/generic/111 | 2 +- tests/generic/115 | 2 +- tests/generic/159 | 2 +- tests/generic/160 | 2 +- tests/xfs/129 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/generic/110 b/tests/generic/110 index 468d859..fffadbc 100755 --- a/tests/generic/110 +++ b/tests/generic/110 @@ -37,7 +37,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - rm -f $tmp.* + rm -f $tmp.* "$TESTDIR" } # get standard environment, filters and checks diff --git a/tests/generic/111 b/tests/generic/111 index 1797233..98077d8 100755 --- a/tests/generic/111 +++ b/tests/generic/111 @@ -37,7 +37,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - rm -f $tmp.* + rm -f $tmp.* "$TESTDIR" } # get standard environment, filters and checks diff --git a/tests/generic/115 b/tests/generic/115 index b5c64ec..6c8d92d 100755 --- a/tests/generic/115 +++ b/tests/generic/115 @@ -35,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - rm -f $tmp.* + rm -f $tmp.* "$TESTDIR" } # get standard environment, filters and checks diff --git a/tests/generic/159 b/tests/generic/159 index 7944267..369663d 100755 --- a/tests/generic/159 +++ b/tests/generic/159 @@ -32,7 +32,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - # rm -rf "$tmp".* "$TESTDIR1" + rm -rf "$tmp".* "$TESTDIR1" } # get standard environment, filters and checks diff --git a/tests/generic/160 b/tests/generic/160 index e8c43df..4dfee12 100755 --- a/tests/generic/160 +++ b/tests/generic/160 @@ -32,7 +32,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - # rm -rf "$tmp".* "$TESTDIR1" + rm -rf "$tmp".* "$TESTDIR1" } # get standard environment, filters and checks diff --git a/tests/xfs/129 b/tests/xfs/129 index 6279d69..6fb9bac 100755 --- a/tests/xfs/129 +++ b/tests/xfs/129 @@ -35,7 +35,7 @@ _cleanup() { cd / umount "$SCRATCH_MNT" > /dev/null 2>&1 - rm -rf "$tmp".* "$TESTDIR" "$METADUMP_FILE" + rm -rf "$tmp".* "$TESTDIR" "$METADUMP_FILE" "$TEST_DIR/image" } # get standard environment, filters and checks