]> git.baikalelectronics.ru Git - uboot.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)
commitdcb98de9db6629821651d29e2e58a7dce3dddf99
tree0efd097835cb9c42373a304327543e3b60a5dc1c
parentf82693febde2ad2b4c92b4b12ae4a5bd552932f1
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]