Message ID | 20210324224817.103503-1-andrealmeid@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] common: Escape SCRATCH_DEV variable | expand |
André Almeida <andrealmeid@collabora.com> writes: > Escape SCRATCH_DEV variable so it prints its name, instead of printing > the value. If the value is "", the error message will not be very > informative. > > Signed-off-by: André Almeida <andrealmeid@collabora.com> cover letter is missing. Other than that, for the entire series: Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.com>
diff --git a/common/rc b/common/rc index 6d1757da..fc1a7751 100644 --- a/common/rc +++ b/common/rc @@ -1537,7 +1537,7 @@ _require_scratch_nocheck() tmpfs) if [ -z "$SCRATCH_DEV" -o ! -d "$SCRATCH_MNT" ]; then - _notrun "this test requires a valid \$SCRATCH_MNT and unique $SCRATCH_DEV" + _notrun "this test requires a valid \$SCRATCH_MNT and unique \$SCRATCH_DEV" fi ;; ubifs)
Escape SCRATCH_DEV variable so it prints its name, instead of printing the value. If the value is "", the error message will not be very informative. Signed-off-by: André Almeida <andrealmeid@collabora.com> --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)