xfs
[Top] [All Lists]

[PATCH v2 3/4] xfstests: Changed test 015 to be generic for all filesyst

To: linux-fsdevel@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: [PATCH v2 3/4] xfstests: Changed test 015 to be generic for all filesystems
From: Stefan Behrens <sbehrens@xxxxxxxxxxxxxxxx>
Date: Fri, 29 Jul 2011 18:07:00 +0200
In-reply-to: <cover.1311953979.git.sbehrens@xxxxxxxxxxxxxxxx>
In-reply-to: <cover.1311953979.git.sbehrens@xxxxxxxxxxxxxxxx>
References: <cover.1311953979.git.sbehrens@xxxxxxxxxxxxxxxx>
References: <cover.1311953979.git.sbehrens@xxxxxxxxxxxxxxxx>
Changed the test 015 to be generic for all filesystems and to be
executed for all filesystems.
Replaced the call to _scratch_mkfs_xfs with the XFS specific size
parameter by the generic one for sized filesystem creation which is
_scratch_mkfs_sized.

Signed-off-by: Stefan Behrens <sbehrens@xxxxxxxxxxxxxxxx>
---
 015 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/015 b/015
index 8f2be7c..686a211 100755
--- a/015
+++ b/015
@@ -48,13 +48,13 @@ _free()
 }
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os IRIX Linux
 
 _require_scratch
 _require_nobigloopfs
 
-_scratch_mkfs_xfs -d size=50m >/dev/null || _fail "mkfs failed"
+_scratch_mkfs_sized `expr 50 \* 1024 \* 1024` >/dev/null 2>&1 || _fail "mkfs 
failed"
 _scratch_mount || _fail "mount failed"
 out=$SCRATCH_MNT/fillup.$$
 rm -f $seq.full
-- 
1.7.3.4

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