]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: test truncation in snprintf()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 15 Nov 2021 18:06:55 +0000 (19:06 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 20 Nov 2021 09:53:00 +0000 (10:53 +0100)
commit0c9e8bf2bb617e08d9e07f219fe2bcf6d6de0ab4
tree45edaf67133dee5b076304f5f5beb0bdee8e8f05
parentac7606af7d4a91d6bad0e5de51b72a513e6ae440
test: test truncation in snprintf()

Test that the return value of snprintf() is correct in the case of
truncation.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/print_ut.c