]> git.baikalelectronics.ru Git - uboot.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)
commitc03c756e6424857bc4a12362b299ac8d496c5ce3
tree9263eff968a58e308683e3f67fbb562e89003b54
parent37d5a7984d439f3140b98538c80172b22db8877b
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