mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Support "generic" filesystem type
Create a new "generic" _supported_fs type for tests which are not really filesystem-specific. "generic" tests do expect that acl & attr are supported though. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -47,7 +47,7 @@ done_cleanup=false
|
||||
trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
verbose=true
|
||||
|
||||
@@ -43,7 +43,7 @@ _cleanup()
|
||||
}
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -67,7 +67,7 @@ _touch()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
|
||||
# IRIX UDF does not support symlinks
|
||||
if [ $FSTYP == 'udf' ]; then
|
||||
|
||||
@@ -54,7 +54,7 @@ _count()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -48,7 +48,7 @@ _cleanup()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -56,7 +56,7 @@ _filter_dbtest()
|
||||
[ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform"
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -46,7 +46,7 @@ _cleanup()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -92,7 +92,7 @@ _do_test()
|
||||
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -44,7 +44,7 @@ _cleanup()
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -37,7 +37,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_require_scratch
|
||||
|
||||
@@ -44,7 +44,7 @@ _cleanup()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -111,7 +111,7 @@ _process_args()
|
||||
# real QA test starts here
|
||||
rm -f $here/$seq.full
|
||||
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
#
|
||||
|
||||
@@ -53,7 +53,7 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_require_scratch
|
||||
|
||||
@@ -57,7 +57,7 @@ _filefilter()
|
||||
}
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf
|
||||
_supported_fs generic
|
||||
_supported_os IRIX
|
||||
|
||||
[ -x $runas ] || _notrun "$runas executable not found"
|
||||
|
||||
@@ -72,7 +72,7 @@ else
|
||||
fi
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs udf xfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX
|
||||
|
||||
_require_scratch
|
||||
|
||||
@@ -77,7 +77,7 @@ rm -f $seq.full
|
||||
|
||||
#-------------------------------------------------------
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf
|
||||
_supported_fs generic
|
||||
_supported_os IRIX
|
||||
|
||||
_acl_setup_ids
|
||||
|
||||
@@ -43,7 +43,7 @@ _cleanup()
|
||||
}
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
# Use _populate_fs() in common.rc to create a directory structure.
|
||||
|
||||
@@ -46,7 +46,7 @@ _cleanup()
|
||||
. ./common.attr
|
||||
|
||||
# Modify as appropriate.
|
||||
_supported_fs xfs udf
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
# real QA test starts here
|
||||
|
||||
@@ -71,7 +71,7 @@ _user_do()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os Linux IRIX
|
||||
|
||||
_require_user
|
||||
|
||||
@@ -47,7 +47,7 @@ _cleanup()
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs udf nfs
|
||||
_supported_fs generic
|
||||
_supported_os Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user