mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 10:17:21 +00:00
efi_selftest: test FatToStr() truncation
Let the FatToStr test check that the FatSize parameter is considered. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
f2d60f6257
commit
f2833d451c
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ static int test_fat_to_str(void)
|
||||||
|
|
||||||
boottime->set_mem(str, sizeof(str), 0);
|
boottime->set_mem(str, sizeof(str), 0);
|
||||||
unicode_collation_protocol->fat_to_str(unicode_collation_protocol, 6,
|
unicode_collation_protocol->fat_to_str(unicode_collation_protocol, 6,
|
||||||
"U-BOOT", str);
|
"U-BOOT!", str);
|
||||||
if (efi_st_strcmp_16_8(str, "U-BOOT")) {
|
if (efi_st_strcmp_16_8(str, "U-BOOT")) {
|
||||||
efi_st_error("fat_to_str returned \"%ps\"\n", str);
|
efi_st_error("fat_to_str returned \"%ps\"\n", str);
|
||||||
return EFI_ST_FAILURE;
|
return EFI_ST_FAILURE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue