mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
tests: remove udf/101
This IRIX and UDF-specific test essentially just created a UDF filesystem with a specific size. This isn't really useful because there already are many generic tests that do _scratch_mkfs_sized. So just delete the test rather than trying to port it to Linux. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
#! /bin/bash
|
||||
# FS QA Test No. 101. Modified from UDFQA test 029.
|
||||
#
|
||||
# This tests mkfs_udf with -s [SIZE] option.
|
||||
#
|
||||
#-----------------------------------------------------------------------
|
||||
# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it would be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write the Free Software Foundation,
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
#-----------------------------------------------------------------------
|
||||
#
|
||||
|
||||
seq=`basename $0`
|
||||
seqres=$RESULT_DIR/$seq
|
||||
echo "QA output created by $seq"
|
||||
|
||||
here=`pwd`
|
||||
tmp=/tmp/$$
|
||||
status=1 # failure is the default!
|
||||
FS_SIZE=2048
|
||||
trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
|
||||
_cleanup()
|
||||
{
|
||||
rm -f $tmp.*
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs udf
|
||||
_supported_os IRIX
|
||||
|
||||
MKFS_OPTIONS="-s $FS_SIZE"
|
||||
|
||||
_require_scratch
|
||||
_setup_udf_scratchdir
|
||||
_scratch_unmount
|
||||
|
||||
# Inspect the space bitmap
|
||||
echo bitmap | udf_db -c - $SCRATCH_DEV
|
||||
|
||||
# Run udf_test
|
||||
_check_udf_filesystem $SCRATCH_DEV $FS_SIZE
|
||||
|
||||
# success, all done
|
||||
status=0
|
||||
exit
|
||||
@@ -1,19 +0,0 @@
|
||||
QA output created by 101
|
||||
<space_bitmap name="unalloc">
|
||||
<desc_tag name="tag">
|
||||
<id val="264" />
|
||||
<descriptor_ver val="3" />
|
||||
<cksum val="13" />
|
||||
<reserved val="0" />
|
||||
<serial_num val="0" />
|
||||
<desc_crc val="0" />
|
||||
<desc_crc_len val="0" />
|
||||
<tag_loc val="1" />
|
||||
</desc_tag>
|
||||
<num_bits val="1500" />
|
||||
<num_bytes val="188" />
|
||||
<bitmap>
|
||||
0-3 [4]: 0
|
||||
4-1499 [1496]: 1
|
||||
</bitmap>
|
||||
</space_bitmap>
|
||||
@@ -3,5 +3,4 @@
|
||||
# - do not start group names with a digit
|
||||
# - comment line before each group is "new" description
|
||||
#
|
||||
101 udf
|
||||
102 udf
|
||||
|
||||
Reference in New Issue
Block a user