From cc2d354768f7d42893bac38101f65b047fd7f8f4 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Thu, 8 Sep 2022 17:58:09 +0900 Subject: [PATCH] Unset LC_ALL and LC_COLLATE to stabilize regression test output I set LC_COLLATE=C in ~/.profile, which appears to change the glob order. LC_ALL would also affect that, so let's unset both. --- sample_files/compare_all.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sample_files/compare_all.sh b/sample_files/compare_all.sh index afa8d3a8b..1301ed313 100755 --- a/sample_files/compare_all.sh +++ b/sample_files/compare_all.sh @@ -20,6 +20,7 @@ cargo build --release # Set language so we expand globs in a consistent order regardless of # locale (e.g. on GitHub actions). LANG=en_US.UTF-8 +unset LC_ALL LC_COLLATE echo "==> Check outputs" for before_f in sample_files/*before.*; do