]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: make 204 generic
authorEric Sandeen <sandeen@sandeen.net>
Tue, 9 Feb 2010 22:05:51 +0000 (16:05 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 9 Feb 2010 22:05:51 +0000 (16:05 -0600)
204 can be generic.

Also remove a stray _scratch_mkfs that snuck into
_scratch_mkfs_sized :/

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
204
common.rc

diff --git a/204 b/204
index 1ac9ebf738cbfbc60df61514a820c946689da2a5..14ebcdc8e240d432b9785a280925fd931a9b1493 100755 (executable)
--- 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
index 0a02a2b910acc53f3e28da92f0b629495500925e..c76bcde08fd92c1d164d6a570126d842503b1afe 100644 (file)
--- 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