common: kill _supported_os

fstests only supports Linux, so get rid of this unnecessary predicate.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2020-09-17 19:09:36 -07:00
committed by Eryu Guan
parent 9a6005c31f
commit a860a167d8
1498 changed files with 0 additions and 1515 deletions
-18
View File
@@ -1456,24 +1456,6 @@ _supported_fs()
_notrun "not suitable for this filesystem type: $FSTYP"
}
# tests whether $FSTYP is one of the supported OSes for a test
#
_supported_os()
{
local h
for h
do
if [ "$h" = "$HOSTOS" ]
then
return
fi
done
_notrun "not suitable for this OS: $HOSTOS"
}
# check if a FS on a device is mounted
# if so, verify that it is mounted on mount point
# if fstype is given as argument, verify that it is also
-1
View File
@@ -179,7 +179,6 @@ rm -f \$seqres.full
# Modify as appropriate.
_supported_fs generic
_supported_os Linux
_require_test
# if error
-1
View File
@@ -28,7 +28,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
_scratch_mkfs > /dev/null 2>&1
-1
View File
@@ -26,7 +26,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
. ./common/filter
_supported_fs btrfs
_supported_os Linux
_require_scratch
_scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
-1
View File
@@ -47,7 +47,6 @@ _cleanup()
. ./common/filter
_supported_fs btrfs
_supported_os Linux
_require_scratch
_require_scratch_dev_pool 4
_require_command "$WIPEFS_PROG" wipefs
-1
View File
@@ -32,7 +32,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
_require_no_large_scratch_dev
_require_btrfs_command inspect-internal logical-resolve
-1
View File
@@ -118,7 +118,6 @@ _rundefrag()
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
rm -f $seqres.full
-1
View File
@@ -30,7 +30,6 @@ _cleanup()
# Modify as appropriate.
_supported_fs btrfs
_supported_os Linux
_require_scratch
_require_scratch_dev_pool
-1
View File
@@ -33,7 +33,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
_require_seek_data_hole
-1
View File
@@ -33,7 +33,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch
-1
View File
@@ -28,7 +28,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
rm -f $seqres.full
-1
View File
@@ -31,7 +31,6 @@ _cleanup()
rm -f $seqres.full
_supported_fs btrfs
_supported_os Linux
_require_test
_require_btrfs_fs_sysfs
-1
View File
@@ -36,7 +36,6 @@ _cleanup()
# Modify as appropriate.
_supported_fs btrfs
_supported_os Linux
_require_scratch_nocheck
_require_command "$BTRFS_CONVERT_PROG" btrfs-convert
-1
View File
@@ -32,7 +32,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
rm -f $seqres.full
-1
View File
@@ -37,7 +37,6 @@ _balance()
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
_scratch_mkfs >/dev/null 2>&1
-1
View File
@@ -29,7 +29,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
rm -f $seqres.full
-1
View File
@@ -32,7 +32,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch
_require_fssum
-1
View File
@@ -34,7 +34,6 @@ _cleanup()
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-1
View File
@@ -28,7 +28,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_scratch
rm -f $seqres.full
-1
View File
@@ -33,7 +33,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch

Some files were not shown because too many files have changed in this diff Show More