test: Add a test for print_buffer()
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 12:59:59 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commitc614ddf28b064d1de18b97edb6d0f5b91ce70376
tree283dce00568d16afda070f9c054d46e7a800fe8f
parentfbb99dcec099254f77efd7e16cdc5b31c46cc888
test: Add a test for print_buffer()

Add a test for this function, to cover the various features. Expand the
expect_str length to take acount of the ~300-bytes lines generated in one
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/test.h
test/print_ut.c