]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Let xorriso fixely assume UTF-8 as local character set
authorThomas Schmitt <scdbackup@gmx.net>
Fri, 27 Aug 2021 21:05:06 +0000 (23:05 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 6 Sep 2021 14:28:45 +0000 (16:28 +0200)
commit793121eb3e18543d419c3bd1d914cfe6065c3136
treeeb1f9d2dbea1cfe457b04c1aafe30932b804ad20
parente372dcb0d4541ee9b9682cde088ec87a7b238ca2
tests: Let xorriso fixely assume UTF-8 as local character set

The iso9660_test fails if the effective locale is not UTF-8. This happens
because xorriso needs to convert file names and FSLABEL to UCS-2 when
preparing a Joliet tree. The grub-fs-tester obviously intends to use UTF-8
as character set, but xorriso assumes by default the result of nl_langinfo(3)
with item CODESET. So, override the result of nl_langinfo(CODESET) by options
of xorriso -as mkisofs.

Signed-off-by: Thomas Schmitt <scdbackup@gmx.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in