The current _notrun call states that the scratch device is too small but
does not specify the required size. Simply update the _notrun messages.
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
_require_scratch
local devsize=`_get_device_size $SCRATCH_DEV`
- [ $devsize -lt $1 ] && _notrun "scratch dev too small"
+ [ $devsize -lt $1 ] && _notrun "scratch device too small, $devsize < $1"
}
# require a scratch dev of a minimum size (in kb) and should not be checked
_require_scratch_nocheck
local devsize=`_get_device_size $SCRATCH_DEV`
- [ $devsize -lt $1 ] && _notrun "scratch dev too small"
+ [ $devsize -lt $1 ] && _notrun "scratch device size too small, $devsize < $1"
}
# Require scratch fs which supports >16T of filesystem size.