xfs
[Top] [All Lists]

[PATCH] xfstests: fix up features2 tests for lazy-count=1

To: xfs mailing list <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix up features2 tests for lazy-count=1
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 21 Apr 2009 15:25:31 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
A few more tests are unhappy with a lazy-count=1 change;
specify lazy-count=0 in them for these tests.

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

diff --git a/186 b/186
index e8706e4..3e487ab 100755
--- a/186
+++ b/186
@@ -135,7 +135,7 @@ _supported_os Linux
 _require_scratch
 rm -f $seq.full
 
-_scratch_mkfs -i attr=2,size=512 >/dev/null 2>&1
+_scratch_mkfs -i attr=2,size=512 -l lazy-count=0 >/dev/null 2>&1
 
 # set inum to root dir ino
 # we'll add in dirents and EAs into the root directory
diff --git a/187 b/187
index 4e79055..8ae3ef9 100755
--- a/187
+++ b/187
@@ -54,7 +54,7 @@ export MOUNT_OPTIONS=""
 # Make sure that when we think we are testing with morebits off
 # that we really are.
 # Trying to future-proof in case mkfs defaults change.
-_scratch_mkfs -i attr=1 >/dev/null 2>&1
+_scratch_mkfs -i attr=1 -l lazy-count=0 >/dev/null 2>&1
 $XFS_DB_PROG -c version $SCRATCH_DEV 2>&1 >$tmp.db
 if grep -i morebits $tmp.db
 then
diff --git a/199 b/199
index 099cc1c..c7dcbdd 100644
--- a/199
+++ b/199
@@ -35,7 +35,7 @@ _supported_os Linux
 
 _require_scratch
 
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs_xfs -l lazy-count=0>/dev/null 2>&1
 
 #
 # Print the current flags.  Just a dummy so that the test breaks

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