xfstests: stop special casing nfs and udf

For historical reasons beyond my knowledge xfstests tries to abuse the
scratch device as test device for nfs and udf.  Because not all test
have inherited the right usage of the _setup_testdir and _cleanup_testdir
helpers this leads to lots of unessecary test failures.

Remove the special casing, which gets nfs down to a minimal number of
failures.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Sugned-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Christoph Hellwig
2013-12-03 10:29:26 +11:00
committed by Dave Chinner
parent 10298d30e5
commit c041421687
85 changed files with 137 additions and 563 deletions
+2 -5
View File
@@ -40,8 +40,7 @@ _cleanup()
{
cd /
rm -f $tmp.*
[ -n "$testdir" ] && rm -rf $testdir/$seq.dir1
_cleanup_testdir
[ -n "$TEST_DIR" ] && rm -rf $TEST_DIR/$seq.dir1
}
# -----
@@ -76,14 +75,12 @@ _supported_os Linux
rm -f $seqres.full
_setup_testdir
_need_to_be_root
_acl_setup_ids
_require_acls
# get dir
cd $testdir
cd $TEST_DIR
rm -rf $seq.dir1
mkdir $seq.dir1
cd $seq.dir1
-2
View File
@@ -34,7 +34,6 @@ _cleanup()
{
cd /
rm -f $tmp.*
_cleanup_testdir
}
# get standard environment, filters and checks
@@ -46,7 +45,6 @@ _cleanup()
_supported_fs xfs ext4 btrfs
_supported_os Linux
_setup_testdir
# We require scratch so that we'll have free contiguous space
_require_scratch
_scratch_mkfs >/dev/null 2>&1