From: Dave Chinner Date: Thu, 22 Feb 2018 00:32:03 +0000 (+1100) Subject: generic/25[02]: increase filesystem size X-Git-Tag: v2022.05.01~1644 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=729381bda427effaddbae25af6395bb257aaf63a;p=xfstests-dev.git generic/25[02]: increase filesystem size On reflink+rmapbt XFs filesystems there isn't enough free space to run this test on the 64MB filesystem image created. It notruns with a curious error message - needs at least 0GB free: generic/250 [10:01:57] [10:01:58] [not run] generic/250 -- This test requires at least 0GB free on /mnt/scratch to run Fix this by increasing the size of the base filesystem image. Signed-Off-By: Dave Chinner Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/tests/generic/250 b/tests/generic/250 index a8fd97e3..6b0f7e31 100755 --- a/tests/generic/250 +++ b/tests/generic/250 @@ -54,10 +54,10 @@ _require_no_rtinherit rm -f $seqres.full - +fssize=$((100 * 1048576)) echo "Format and mount" -$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $((64 * 1048576))" $SCRATCH_DEV >> $seqres.full -_scratch_mkfs_sized $((64 * 1048576)) > $seqres.full 2>&1 +$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $fssize" $SCRATCH_DEV >> $seqres.full +_scratch_mkfs_sized $fssize > $seqres.full 2>&1 _dmerror_init _dmerror_mount >> $seqres.full 2>&1 _dmerror_unmount diff --git a/tests/generic/252 b/tests/generic/252 index b506d599..e102945d 100755 --- a/tests/generic/252 +++ b/tests/generic/252 @@ -56,9 +56,10 @@ AIO_TEST="src/aio-dio-regress/aiocp" rm -f $seqres.full +fssize=$((100 * 1048576)) echo "Format and mount" -$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $((64 * 1048576))" $SCRATCH_DEV >> $seqres.full -_scratch_mkfs_sized $((64 * 1048576)) > $seqres.full 2>&1 +$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $fssize" $SCRATCH_DEV >> $seqres.full +_scratch_mkfs_sized $fssize > $seqres.full 2>&1 _dmerror_init _dmerror_mount >> $seqres.full 2>&1 _dmerror_unmount