xfs
[Top] [All Lists]

[PATCH] xfstests: make 204 generic

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: make 204 generic
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 09 Feb 2010 14:43:11 -0600
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
204 can be generic.

Also remove a stray _scratch_mkfs that snuck into
_scratch_mkfs_sized :/

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

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

<Prev in Thread] Current Thread [Next in Thread>