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,22 +40,19 @@ _cleanup()
{
cd /
rm -f $tmp.*
_cleanup_testdir
}
# real QA test starts here
_supported_fs xfs
_supported_os IRIX Linux
_setup_testdir
_my_stat_filter()
{
grep "[sS]ize" | sed "s/.*[sS]ize[: ]*\([[:digit:]]*\).*/\1 largefile/g"
}
rm -f $testdir/testfile
if src/feature -t $testdir/testfile; then
rm -f $TEST_DIR/testfile
if src/feature -t $TEST_DIR/testfile; then
:
else
_notrun "Installed libc doesn't correctly handle setrlimit/ftruncate64"