summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-08 15:59:59 +0300
committerTom Rini <trini@konsulko.com>2021-06-08 18:39:09 +0300
commitc614ddf28b064d1de18b97edb6d0f5b91ce70376 (patch)
tree283dce00568d16afda070f9c054d46e7a800fe8f /include/test
parentfbb99dcec099254f77efd7e16cdc5b31c46cc888 (diff)
downloadu-boot-c614ddf28b064d1de18b97edb6d0f5b91ce70376.tar.xz
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>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/test/test.h b/include/test/test.h
index bf7d785d8e..0104e189f6 100644
--- a/include/test/test.h
+++ b/include/test/test.h
@@ -32,8 +32,8 @@ struct unit_test_state {
struct udevice *testdev;
int force_fail_alloc;
int skip_post_probe;
- char expect_str[256];
- char actual_str[256];
+ char expect_str[512];
+ char actual_str[512];
};
/* Test flags for each test */