diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/setup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/setup b/tests/setup index c05f4ec7..935ab038 100755 --- a/tests/setup +++ b/tests/setup @@ -12,6 +12,10 @@ JQTESTDIR=$(cd "$(dirname "$0")" && pwd) JQBASEDIR=$JQTESTDIR/.. JQ=${JQ:-$JQBASEDIR/jq} +# Some tests have locale-dependent output; use C locale. Fixes #3038 +LC_ALL=C +export LC_ALL + if [ -z "${NO_VALGRIND-}" ] && which valgrind > /dev/null; then VALGRIND="valgrind --error-exitcode=1 --leak-check=full \ --suppressions=$JQTESTDIR/onig.supp \ |