Locale breaks tests.

This commit is contained in:
Nicholas Marriott
2026-07-04 19:13:53 +01:00
parent 1b4015226f
commit 219dc7f99e
4 changed files with 12 additions and 1 deletions

View File

@@ -9,7 +9,9 @@ all:
printf '%-40s ' "$$test"; \
start=$$(date +%s); \
ASAN_OPTIONS="abort_on_error=1:detect_leaks=0:$$ASAN_OPTIONS"; \
if env -i ASAN_OPTIONS="$$ASAN_OPTIONS" sh "$$test" >/dev/null 2>&1; then \
env -i LC_CTYPE=C.UTF-8 ASAN_OPTIONS="$$ASAN_OPTIONS" \
sh "$$test" >/dev/null 2>&1; \
if [ $$? -eq 0 ]; then \
end=$$(date +%s); \
echo "PASS ($$((end - start))s)"; \
else \