aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-11-22 12:25:10 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-02 19:17:24 +0100
commitf2833d451c0e5e0aecec4d431cbe4ffa21f2e433 (patch)
treeda5d923ef5b9a64c8c8050f69749663d24d83a19
parentf2d60f6257cf1d4999f4e77a467087dff2c30874 (diff)
downloadu-boot-f2833d451c0e5e0aecec4d431cbe4ffa21f2e433.zip
u-boot-f2833d451c0e5e0aecec4d431cbe4ffa21f2e433.tar.gz
u-boot-f2833d451c0e5e0aecec4d431cbe4ffa21f2e433.tar.bz2
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>
-rw-r--r--lib/efi_selftest/efi_selftest_unicode_collation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_unicode_collation.c b/lib/efi_selftest/efi_selftest_unicode_collation.c
index 11050a3..32c99ca 100644
--- a/lib/efi_selftest/efi_selftest_unicode_collation.c
+++ b/lib/efi_selftest/efi_selftest_unicode_collation.c
@@ -178,7 +178,7 @@ static int test_fat_to_str(void)
boottime->set_mem(str, sizeof(str), 0);
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")) {
efi_st_error("fat_to_str returned \"%ps\"\n", str);
return EFI_ST_FAILURE;