]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Detect when expect_str is too small
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 12:59:57 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commit090d664eac6ff3bdb39c871bb9079df8e22873fc
tree9263eff968a58e308683e3f67fbb562e89003b54
parentc1a2bb4f836a1c96c8e39a67be9795d462ec3356
test: Detect when expect_str is too small

If a line of more than 256 bytes is generated, the test will fail but the
reason is not clear. Add a check for this condition and print a helpful
message.

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