[PATCH 2/2] test: test UTF-16 truncation in sprintf()

Simon Glass sjg at chromium.org
Fri Feb 11 16:05:46 CET 2022


On Sat, 29 Jan 2022 at 10:40, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Check that snprintf() returns the correct required buffer length and prints
> the correct string for UTF-16 strings.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  test/unicode_ut.c | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>

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


More information about the U-Boot mailing list