diff options
author | Simon Glass | 2021-05-08 06:59:59 -0600 |
---|---|---|
committer | Tom Rini | 2021-06-08 11:39:09 -0400 |
commit | c614ddf28b064d1de18b97edb6d0f5b91ce70376 (patch) | |
tree | 283dce00568d16afda070f9c054d46e7a800fe8f /include/test | |
parent | fbb99dcec099254f77efd7e16cdc5b31c46cc888 (diff) |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/test/test.h b/include/test/test.h index bf7d785d8ed..0104e189f63 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 */ |