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