1
0
Fork 0
mirror of https://github.com/u-boot/u-boot.git synced 2025-04-22 20:58:22 +00:00
u-boot/test/common
Simon Glass 5c8c073887 test: Adjust print_ut test to use unsigned char
Since char is unsigned on arm64, this test currently fails. It seems
better to use unsigned anyway, since 0xff is written into the string at
the start. Update the terminator-assert to use a character instead of a
byte.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Changes in v6:
- Re-introduce

Changes in v2:
- Use '\0' instead of 0

test/print_ut.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2024-12-02 16:34:30 -06:00
..
bloblist.c Merge patch series "test: Tidy up the test/ directory" 2024-11-13 16:02:58 -06:00
cmd_ut_common.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cread.c test: Use UTF_CONSOLE in remaining tests 2024-08-26 18:51:49 -06:00
cyclic.c cyclic: make clients embed a struct cyclic_info in their own data structure 2024-06-16 12:13:44 +02:00
event.c test: Rename unit-test flags 2024-08-26 18:51:48 -06:00
Makefile test: Move print_ut test into common 2024-11-13 11:56:01 -06:00
print.c test: Adjust print_ut test to use unsigned char 2024-12-02 16:34:30 -06:00
test_autoboot.c test: Use UTF_CONSOLE in remaining tests 2024-08-26 18:51:49 -06:00