[Top] [All Lists]

[PATCH] xfstests: fix xfs/205 for new log size defaults

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix xfs/205 for new log size defaults
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Wed, 09 Oct 2013 14:48:45 -0500
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
test xfs/205 expects a certain log size, but defaults have
changed, the logs are bigger, and this test now fails w/ early

     QA output created by 205
    +   !!! disk full (expected)
    +   !!! disk full (expected)
    +   !!! disk full (expected)
     *** one file
    +   !!! disk full (expected)
     *** one file, a few bytes at a time

Fix this by specifying the log size at mkfs time, so freespace is
as the test expects it to be.

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

diff --git a/tests/xfs/205 b/tests/xfs/205
index c9b73a1..0c071ca 100755
--- a/tests/xfs/205
+++ b/tests/xfs/205
@@ -41,7 +41,7 @@ _require_scratch
 rm -f $seqres.full
-_scratch_mkfs_xfs -d size=16m -b size=512 >> $seqres.full 2>&1
+_scratch_mkfs_xfs -d size=16m -b size=512 -l size=4944b >> $seqres.full 2>&1
 # fix the reserve block pool to a known size so that the enospc calculations

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