]> git.ipfire.org Git - people/ms/u-boot.git/commit
test: Add a test for snprintf() and the banner/version
authorSimon Glass <sjg@chromium.org>
Fri, 16 Jun 2017 03:37:51 +0000 (21:37 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commite5a9d27fdbcf59760a7ff69597584229e24ca456
tree0efd097835cb9c42373a304327543e3b60a5dc1c
parentb0895384bebb6a4a2ea5bbdb0941b771b5875012
test: Add a test for snprintf() and the banner/version

Add a simple test to make sure that these functions obey the buffer size
passed into them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
test/Makefile
test/print_ut.c [new file with mode: 0644]