Skip to content

Commit

Permalink
Set LC_ALL=en_US.UTF-8 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Sep 30, 2024
1 parent 7f633d6 commit 0592019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cabal-testsuite/src/Test/Cabal/Monad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ runTestM mode m =
testSkipSetupTests = argSkipSetupTests (testCommonArgs args),
testHaveCabalShared = runnerWithSharedLib senv,
testEnvironment =
-- Try to avoid Unicode output
[ ("LC_ALL", Just "C")
-- Use UTF-8 output on all platforms.
[ ("LC_ALL", Just "en_US.UTF-8")
-- Hermetic builds (knot-tied)
, ("HOME", Just (testHomeDir env))
-- Set CABAL_DIR in addition to HOME, since HOME has no
Expand Down

0 comments on commit 0592019

Please sign in to comment.