[PATCH] xfstests: make 204 generic

Eric Sandeen sandeen at sandeen.net
Tue Feb 9 14:43:11 CST 2010


204 can be generic.

Also remove a stray _scratch_mkfs that snuck into
_scratch_mkfs_sized :/

Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
---

diff --git a/204 b/204
index 1ac9ebf..14ebcdc 100755
--- a/204
+++ b/204
@@ -35,12 +35,13 @@ status=1	# failure is the default!
 . ./common.filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux
 
 _require_scratch
 
-_scratch_mkfs_xfs -d size=104m >/dev/null
+SIZE=104*1024*1024
+_scratch_mkfs_sized $SIZE  &> /dev/null
 _scratch_mount
 
 for i in `seq 1 22500`; do
diff --git a/common.rc b/common.rc
index 0a02a2b..c76bcde 100644
--- a/common.rc
+++ b/common.rc
@@ -325,7 +325,6 @@ _scratch_mkfs_sized()
 	_notrun "Filesystem $FSTYP not supported in _scratch_mkfs_sized"
 	;;
     esac
-    _scratch_mkfs
 }
 
 # Emulate an N-data-disk stripe w/ various stripe units




More information about the xfs mailing list