[PATCH 1/1] test: test truncation in snprintf()

Simon Glass sjg at chromium.org
Wed Nov 17 03:48:45 CET 2021


On Mon, 15 Nov 2021 at 11:07, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Test that the return value of snprintf() is correct in the case of
> truncation.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  test/print_ut.c | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list