Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 1B63B29DF8 for ; Tue, 21 Jan 2014 05:10:38 -0600 (CST) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay2.corp.sgi.com (Postfix) with ESMTP id F0B25304039 for ; Tue, 21 Jan 2014 03:10:34 -0800 (PST) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id uqwPsA0KK6uIhTKT for ; Tue, 21 Jan 2014 03:10:33 -0800 (PST) Received: from disappointment.disaster.area ([192.168.1.110] helo=disappointment) by dastard with esmtp (Exim 4.76) (envelope-from ) id 1W5ZDw-0007b7-E0 for xfs@oss.sgi.com; Tue, 21 Jan 2014 22:10:28 +1100 Received: from dave by disappointment with local (Exim 4.80) (envelope-from ) id 1W5ZDw-0004xO-Cn for xfs@oss.sgi.com; Tue, 21 Jan 2014 22:10:28 +1100 From: Dave Chinner Subject: [PATCH] xfs/199: enforce v4 superblock format for test Date: Tue, 21 Jan 2014 22:10:28 +1100 Message-Id: <1390302628-19020-1-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com From: Dave Chinner This test relies of the contents of the sb_features2 field being known. Make sure ot clear allt eh MKFS_OPTIONS and ensure that we direct mkfs to create only the simplest of featuresets to test this functionality. Signed-off-by: Dave Chinner --- tests/xfs/199 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/xfs/199 b/tests/xfs/199 index 1d64e02..c1b5962 100755 --- a/tests/xfs/199 +++ b/tests/xfs/199 @@ -49,7 +49,10 @@ _supported_os Linux _require_scratch -_scratch_mkfs_xfs -l lazy-count=1 >/dev/null 2>&1 +# clear any mkfs options so taht we can directly specify the options we need to +# be able to test the features bitmask behaviour correctly. +MKFS_OPTIONS= +_scratch_mkfs_xfs -l lazy-count=1 -i projid32bit=0 >/dev/null 2>&1 # # Print the current flags. Just a dummy so that the test breaks -- 1.8.4.rc3 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs