From: Eric Sandeen Date: Wed, 9 Oct 2013 19:48:45 +0000 (+0000) Subject: xfstests: fix xfs/205 for new log size defaults X-Git-Tag: v2022.05.01~3352 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a49141302f71b9dbbd6033a5aaa93a984475dbb4;p=users%2Fhch%2Fxfstests-dev.git xfstests: fix xfs/205 for new log size defaults test xfs/205 expects a certain log size, but defaults have changed, the logs are bigger, and this test now fails w/ early ENOSPC: 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 Reviewed-by: Dave Chinner Signed-off-by: Rich Johnston --- diff --git a/tests/xfs/205 b/tests/xfs/205 index c9b73a19b..0c071ca65 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 _scratch_mount # fix the reserve block pool to a known size so that the enospc calculations