From: Eric Biggers Date: Fri, 21 Jul 2017 04:22:04 +0000 (-0700) Subject: tests: remove udf/098 X-Git-Tag: v2022.05.01~1953 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=004e03ed15b06ba47a25b38e3f86c07a30a36673 tests: remove udf/098 udf/098 was an IRIX and UDF-specific test which tested xattrs. But the Linux UDF driver doesn't support xattrs, and even if it did there are already generic xattr tests --- including now generic/097 which is basically the same test. So just delete udf/098. Signed-off-by: Eric Biggers Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/udf/098 b/tests/udf/098 deleted file mode 100755 index 09792a76..00000000 --- a/tests/udf/098 +++ /dev/null @@ -1,274 +0,0 @@ -#! /bin/bash -# FS QA Test No. 098. Modified from UDFQA test 035 -# -# simple attr tests for EAs: -# - set -# - get -# - list -# - remove -# Basic testing. -# + udf_db checks. -# (033 + udf_db) -# -#----------------------------------------------------------------------- -# 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! -trap "_cleanup; exit \$status" 0 1 2 3 15 - -_cleanup() -{ - rm -f $tmp.* -} - -# get standard environment, filters and checks -. ./common/rc -. ./common/filter - -_db_filter() -{ - awk ' - /foo -cat foo - -echo "should be no EAs for foo:" -${ATTR_PROG} -l foo - -echo "set EA :" -${ATTR_PROG} -s noise -V woof foo - -echo "set EA :" -${ATTR_PROG} -s colour -V blue foo - -echo "set EA :" -${ATTR_PROG} -s size -V small foo - -echo "list the EAs for foo: noise, colour, size" -${ATTR_PROG} -l foo - -echo "check the list again for foo" -${ATTR_PROG} -l foo - -echo "unmount the FS and see if EAs are persistent" -_umount_check_mount - -echo "check the list again for foo after umount/mount" -${ATTR_PROG} -l foo - -echo "get the value of the noise EA" -${ATTR_PROG} -g noise foo - -echo "get the value of the colour EA which was removed earlier" -${ATTR_PROG} -g colour foo - -echo "get the value of the size EA" -${ATTR_PROG} -g size foo - -echo "remove the colour EA on foo" -${ATTR_PROG} -r colour foo - -echo "list EAs for foo: noise, size" -${ATTR_PROG} -l foo - -echo "get the value of the noise EA" -${ATTR_PROG} -g noise foo - -echo "get the value of the colour EA which was removed earlier" -${ATTR_PROG} -g colour foo - -echo "get the value of the size EA" -${ATTR_PROG} -g size foo - -echo "list all the EAs again: noise, size" -${ATTR_PROG} -l foo - -echo "change the value of the size EA from small to huge" -${ATTR_PROG} -s size -V huge foo - -echo "get the size EA which should now have value huge" -${ATTR_PROG} -g size foo - -echo "list EAs: noise, size" -${ATTR_PROG} -l foo - -echo "remove the size EA from foo" -${ATTR_PROG} -r size foo - -echo "list EAs: noise (size EA has been removed)" -${ATTR_PROG} -l foo - -echo "get the noise EA: woof" -${ATTR_PROG} -g noise foo - -echo "try removing non-existent EA named woof" -${ATTR_PROG} -r woof foo - -echo "try removing already removed EA size" -${ATTR_PROG} -r size foo - -echo "list EAs: noise" -${ATTR_PROG} -l foo - -echo "try removing already removed EA colour" -${ATTR_PROG} -r colour foo - -echo "list EAs: noise" -${ATTR_PROG} -l foo - -echo "remove remaining EA noise" -${ATTR_PROG} -r noise foo - -echo "list EAs: should be no EAs left now" -${ATTR_PROG} -l foo - -echo "unmount the FS and see if EAs are persistent" -_umount_check_mount - -echo "list EAs: should still be no EAs left" -${ATTR_PROG} -l foo - -echo "" -echo "*** Test out the root namespace ***" -echo "" - -echo "set EA :" -${ATTR_PROG} -R -s colour -V marone foo - -echo "set EA :" -${ATTR_PROG} -s colour -V beige foo - -echo "set EA :" -${ATTR_PROG} -s vomit -V pizza foo - -echo "set EA :" -${ATTR_PROG} -R -s noise -V whack foo - -echo "list root EAs: :" -${ATTR_PROG} -R -l foo - -echo "list user EAs: :" -${ATTR_PROG} -l foo - -echo "get root EA colour: marone" -${ATTR_PROG} -R -g colour foo - -echo "get root EA noise: whack" -${ATTR_PROG} -R -g noise foo - -echo "get root EA vomit which is a user EA => find nothing" -${ATTR_PROG} -R -g vomit foo - -echo "" -echo "unmount the FS and see if EAs are persistent" -echo "" -_umount_check_mount - -echo "get root EA colour: marone" -${ATTR_PROG} -R -g colour foo - -echo "get root EA noise: whack" -${ATTR_PROG} -R -g noise foo - -echo "get user EA vomit: pizza" -${ATTR_PROG} -g vomit foo - -echo "remove the root colour EA" -${ATTR_PROG} -R -r colour foo - -echo "list root EAs: :" -${ATTR_PROG} -R -l foo - -echo "list user EAs: :" -${ATTR_PROG} -l foo - -echo "remove the final root EA noise" -${ATTR_PROG} -R -r noise foo - -echo "list root EAs: none" -${ATTR_PROG} -R -l foo - -cd / -_scratch_unmount - -udf_db -f $SCRATCH_DEV | _db_filter - -# Checks the udf filesystem -_check_udf_filesystem $SCRATCH_DEV - -_scratch_mount -cd $SCRATCH_MNT - -echo "delete the file foo - which will delete the associated streams" -rm foo - -cd / -_scratch_unmount - -udf_db -f $SCRATCH_DEV | _db_filter - -# Checks the udf filesystem -_check_udf_filesystem $SCRATCH_DEV - -# optional stuff if your test has verbose output to help resolve problems -#echo -#echo "If failure, check $seqres.full (this) and $seqres.full.ok (reference)" - -# success, all done -status=0 -exit diff --git a/tests/udf/098.out b/tests/udf/098.out deleted file mode 100644 index 63772a0a..00000000 --- a/tests/udf/098.out +++ /dev/null @@ -1,1594 +0,0 @@ -QA output created by 098 -create file foo -file_contents -should be no EAs for foo: -set EA : -Attribute "noise" set to a 4 byte value for foo: -woof -set EA : -Attribute "colour" set to a 4 byte value for foo: -blue -set EA : -Attribute "size" set to a 5 byte value for foo: -small -list the EAs for foo: noise, colour, size -Attribute "noise" has a 4 byte value for foo -Attribute "colour" has a 4 byte value for foo -Attribute "size" has a 5 byte value for foo -check the list again for foo -Attribute "noise" has a 4 byte value for foo -Attribute "colour" has a 4 byte value for foo -Attribute "size" has a 5 byte value for foo -unmount the FS and see if EAs are persistent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 77 6F 6F 66 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 62 6C 75 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 73 6D 6C 6C - - - - - - 66 69 6C 65 5F 63 6F 6E 74 65 6E 74 73 A - - - - - -check the list again for foo after umount/mount -Attribute "noise" has a 4 byte value for foo -Attribute "colour" has a 4 byte value for foo -Attribute "size" has a 5 byte value for foo -get the value of the noise EA -Attribute "noise" had a 4 byte value for foo: -woof -get the value of the colour EA which was removed earlier -Attribute "colour" had a 4 byte value for foo: -blue -get the value of the size EA -Attribute "size" had a 5 byte value for foo: -small -remove the colour EA on foo -list EAs for foo: noise, size -Attribute "noise" has a 4 byte value for foo -Attribute "size" has a 5 byte value for foo -get the value of the noise EA -Attribute "noise" had a 4 byte value for foo: -woof -get the value of the colour EA which was removed earlier -attr_get: Attribute not found -Could not get "colour" for foo -get the value of the size EA -Attribute "size" had a 5 byte value for foo: -small -list all the EAs again: noise, size -Attribute "noise" has a 4 byte value for foo -Attribute "size" has a 5 byte value for foo -change the value of the size EA from small to huge -Attribute "size" set to a 4 byte value for foo: -huge -get the size EA which should now have value huge -Attribute "size" had a 4 byte value for foo: -huge -list EAs: noise, size -Attribute "noise" has a 4 byte value for foo -Attribute "size" has a 4 byte value for foo -remove the size EA from foo -list EAs: noise (size EA has been removed) -Attribute "noise" has a 4 byte value for foo -get the noise EA: woof -Attribute "noise" had a 4 byte value for foo: -woof -try removing non-existent EA named woof -attr_remove: Attribute not found -Could not remove "woof" for foo -try removing already removed EA size -attr_remove: Attribute not found -Could not remove "size" for foo -list EAs: noise -Attribute "noise" has a 4 byte value for foo -try removing already removed EA colour -attr_remove: Attribute not found -Could not remove "colour" for foo -list EAs: noise -Attribute "noise" has a 4 byte value for foo -remove remaining EA noise -list EAs: should be no EAs left now -unmount the FS and see if EAs are persistent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 66 69 6C 65 5F 63 6F 6E 74 65 6E 74 73 A - - - - - -list EAs: should still be no EAs left - -*** Test out the root namespace *** - -set EA : -Attribute "colour" set to a 6 byte value for foo: -marone -set EA : -Attribute "colour" set to a 5 byte value for foo: -beige -set EA : -Attribute "vomit" set to a 5 byte value for foo: -pizza -set EA : -Attribute "noise" set to a 5 byte value for foo: -whack -list root EAs: : -Attribute "colour" has a 6 byte value for foo -Attribute "noise" has a 5 byte value for foo -list user EAs: : -Attribute "colour" has a 5 byte value for foo -Attribute "vomit" has a 5 byte value for foo -get root EA colour: marone -Attribute "colour" had a 6 byte value for foo: -marone -get root EA noise: whack -Attribute "noise" had a 5 byte value for foo: -whack -get root EA vomit which is a user EA => find nothing -attr_get: Attribute not found -Could not get "vomit" for foo - -unmount the FS and see if EAs are persistent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6D 61 72 6F 6E 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 62 65 67 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 70 69 7A 61 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 77 68 63 6B - - - - - - 66 69 6C 65 5F 63 6F 6E 74 65 6E 74 73 A - - - - - -get root EA colour: marone -Attribute "colour" had a 6 byte value for foo: -marone -get root EA noise: whack -Attribute "noise" had a 5 byte value for foo: -whack -get user EA vomit: pizza -Attribute "vomit" had a 5 byte value for foo: -pizza -remove the root colour EA -list root EAs: : -Attribute "noise" has a 5 byte value for foo -list user EAs: : -Attribute "colour" has a 5 byte value for foo -Attribute "vomit" has a 5 byte value for foo -remove the final root EA noise -list root EAs: none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 62 65 67 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 70 69 7A 61 - - - - - - - - - - - - - - - - - - - - - - - - - - 66 69 6C 65 5F 63 6F 6E 74 65 6E 74 73 A - - - - - -delete the file foo - which will delete the associated streams - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/udf/group b/tests/udf/group index 24f682cc..f4372e09 100644 --- a/tests/udf/group +++ b/tests/udf/group @@ -3,6 +3,5 @@ # - do not start group names with a digit # - comment line before each group is "new" description # -098 udf auto 101 udf 102 udf