Added btrfs to the list of supported filesystems for test 015, and increased free space reporting tolerance to 10% for btrfs. 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 <sbehrens@xxxxxxxxxxxxxxxx> --- 015 | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/015 b/015 index 8f2be7c..7020e67 100755 --- a/015 +++ b/015 @@ -48,13 +48,13 @@ _free() } # real QA test starts here -_supported_fs xfs +_supported_fs xfs btrfs _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 || _fail "mkfs failed" _scratch_mount || _fail "mount failed" out=$SCRATCH_MNT/fillup.$$ rm -f $seq.full @@ -120,7 +120,12 @@ fi echo "free space after delete $free2" >> $seq.full echo -n " !!! " -_within_tolerance "free space" $free2 $free0 1% -v +if [ $FSTYP = btrfs ] +then + _within_tolerance "free space" $free2 $free0 10% -v +else + _within_tolerance "free space" $free2 $free0 1% -v +fi status=0 exit -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html