]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: test UTF-16 truncation in snprintf()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 17:28:08 +0000 (18:28 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commitc672dd770ee0d9874086543c20a9088124514051
tree591d38e22b68f19b109500bc36da5c9b6d52b76c
parentfe14f880500cd842eadd581b7261538bb9646b7f
test: test UTF-16 truncation in snprintf()

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@canonical.com>
test/unicode_ut.c