aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-01-07 14:01:43 +0800
committerEryu Guan <guaneryu@gmail.com>2020-01-08 13:35:11 +0800
commit538d8a4bcc782258f8f95fae815d5e859dee9126 (patch)
tree1f69da1f2bd30c380e4b7bbba1fb95c4a887ba85
parentdec3ec2dff1ea7fc8b22f713b208a2c92350093c (diff)
downloadxfstests-dev-538d8a4bcc782258f8f95fae815d5e859dee9126.tar.gz
btrfs/172: Remove the dead test which we have no plan to fix
There is no plan to fix it yet, so remove it. Cc: Anand Jain <anand.jain@oracle.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-xtests/btrfs/17273
-rw-r--r--tests/btrfs/172.out2
-rw-r--r--tests/btrfs/group1
3 files changed, 0 insertions, 76 deletions
diff --git a/tests/btrfs/172 b/tests/btrfs/172
deleted file mode 100755
index 0dffb2df..00000000
--- 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 ce2de3f0..00000000
--- 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 697b6a38..4b64bf8b 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