From patchwork Tue Jan 7 06:01:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Wenruo X-Patchwork-Id: 11320461 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E63B16C1 for ; Tue, 7 Jan 2020 06:01:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CEBEB2087F for ; Tue, 7 Jan 2020 06:01:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725914AbgAGGBv (ORCPT ); Tue, 7 Jan 2020 01:01:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:50028 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbgAGGBu (ORCPT ); Tue, 7 Jan 2020 01:01:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id EC191ADBE; Tue, 7 Jan 2020 06:01:48 +0000 (UTC) From: Qu Wenruo To: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org Cc: Anand Jain , Josef Bacik Subject: [PATCH] fstests: btrfs/172: Remove the dead test which we have no plan to fix Date: Tue, 7 Jan 2020 14:01:43 +0800 Message-Id: <20200107060143.2613-1-wqu@suse.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org There is no plan to fix it yet, so remove it. Cc: Anand Jain Signed-off-by: Qu Wenruo Reviewed-by: Josef Bacik Reviewed-by: Anand Jain --- tests/btrfs/172 | 73 --------------------------------------------- tests/btrfs/172.out | 2 -- tests/btrfs/group | 1 - 3 files changed, 76 deletions(-) delete mode 100755 tests/btrfs/172 delete mode 100644 tests/btrfs/172.out diff --git a/tests/btrfs/172 b/tests/btrfs/172 deleted file mode 100755 index 0dffb2dff40b..000000000000 --- a/tests/btrfs/172 +++ /dev/null @@ -1,73 +0,0 @@ -#! /bin/bash -# SPDX-License-Identifier: GPL-2.0 -# Copyright (c) 2018 Oracle. All Rights Reserved. -# -# FS QA Test 172 -# -# Test if the unaligned (by size and offset) punch hole is successful when FS -# is at ENOSPC. -# -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" - -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! -trap "_cleanup; exit \$status" 0 1 2 3 15 - -_cleanup() -{ - cd / - rm -f $tmp.* -} - -# get standard environment, filters and checks -. ./common/rc -. ./common/filter - -# remove previous $seqres.full before test -rm -f $seqres.full - -# real QA test starts here - -# Modify as appropriate. -_supported_fs btrfs -_supported_os Linux -_require_scratch -_require_xfs_io_command "fpunch" - -_scratch_mkfs_sized $((256 * 1024 *1024)) >> $seqres.full - -# max_inline ensures data is not inlined within metadata extents -_scratch_mount "-o max_inline=0,nodatacow" - -cat /proc/self/mounts | grep $SCRATCH_DEV >> $seqres.full -$BTRFS_UTIL_PROG filesystem df $SCRATCH_MNT >> $seqres.full - -extent_size=$(_scratch_btrfs_sectorsize) -unalign_by=512 -echo extent_size=$extent_size unalign_by=$unalign_by >> $seqres.full - -$XFS_IO_PROG -f -c "pwrite -S 0xab 0 $((extent_size * 10))" \ - $SCRATCH_MNT/testfile >> $seqres.full - -echo "Fill all space available for data and all unallocated space." >> $seqres.full -dd status=none if=/dev/zero of=$SCRATCH_MNT/filler bs=512 >> $seqres.full 2>&1 - -hole_offset=0 -hole_len=$unalign_by -$XFS_IO_PROG -c "fpunch $hole_offset $hole_len" $SCRATCH_MNT/testfile - -hole_offset=$(($extent_size + $unalign_by)) -hole_len=$(($extent_size - $unalign_by)) -$XFS_IO_PROG -c "fpunch $hole_offset $hole_len" $SCRATCH_MNT/testfile - -hole_offset=$(($extent_size * 2 + $unalign_by)) -hole_len=$(($extent_size * 5)) -$XFS_IO_PROG -c "fpunch $hole_offset $hole_len" $SCRATCH_MNT/testfile - -# success, all done -echo "Silence is golden" -status=0 -exit diff --git a/tests/btrfs/172.out b/tests/btrfs/172.out deleted file mode 100644 index ce2de3f0d107..000000000000 --- a/tests/btrfs/172.out +++ /dev/null @@ -1,2 +0,0 @@ -QA output created by 172 -Silence is golden diff --git a/tests/btrfs/group b/tests/btrfs/group index d7eeb45d3bc4..ed971bae493c 100644 --- a/tests/btrfs/group +++ b/tests/btrfs/group @@ -174,7 +174,6 @@ 169 auto quick send 170 auto quick snapshot 171 auto quick qgroup -172 auto quick punch 173 auto quick swap 174 auto quick swap 175 auto quick swap volume