From patchwork Fri Jul 29 16:07:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Behrens X-Patchwork-Id: 1021322 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6TG7K1X009517 for ; Fri, 29 Jul 2011 16:07:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307Ab1G2QHG (ORCPT ); Fri, 29 Jul 2011 12:07:06 -0400 Received: from ysabell.rzone.de ([81.169.144.237]:44500 "EHLO ysabell.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752233Ab1G2QHE (ORCPT ); Fri, 29 Jul 2011 12:07:04 -0400 Received: from gargravarr.store (gargravarr.store [192.168.42.236]) by ysabell.rzone.de (Postfix) with ESMTP id 60528328; Fri, 29 Jul 2011 18:07:01 +0200 (MEST) Received: by gargravarr.store (Postfix, from userid 32655) id 58AF1C096; Fri, 29 Jul 2011 18:07:01 +0200 (CEST) From: Stefan Behrens To: linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, xfs@oss.sgi.com Subject: [PATCH v2 3/4] xfstests: Changed test 015 to be generic for all filesystems Date: Fri, 29 Jul 2011 18:07:00 +0200 Message-Id: <9fac26922ffbfbfb153818a3cbfb97d17ff42176.1311953979.git.sbehrens@giantdisaster.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 29 Jul 2011 16:07:20 +0000 (UTC) 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 --- 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