From: Anand Jain Date: Thu, 7 Mar 2024 11:41:19 +0000 (+0800) Subject: common/rc: specify required device size X-Git-Tag: xfs-zoned-2024-06-07~138 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b0216017bc2b20bf38bd3461d474c9f752b8aaa;p=users%2Fhch%2Fxfstests-dev.git common/rc: specify required device size 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 Signed-off-by: Anand Jain --- diff --git a/common/rc b/common/rc index 50dde313b..26212b153 100644 --- a/common/rc +++ b/common/rc @@ -1834,7 +1834,7 @@ _require_scratch_size() _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 @@ -1845,7 +1845,7 @@ _require_scratch_size_nocheck() _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.