Skip to content

tests: Unset CHARSET when testing locales to avoid it breaking tests

Philip Withnall requested to merge pwithnall/glib:2514-charset-conundrum into main

The charset set in CHARSET overrides the charset after the . in any LC_* category (set via the environment or setlocale()). This will break many tests, but in particular it definitely breaks the /GDateTime/format_mixed/ tests which are specifically checking different charsets being set for different LC_* categories.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2514 (closed)

Merge request reports