mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
07ea90f807
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
15 lines
487 B
Diff
15 lines
487 B
Diff
The following patch is taken from this pull request:
|
|
https://github.com/jqlang/jq/pull/3039
|
|
--- a/tests/setup
|
|
+++ b/tests/setup
|
|
@@ -12,6 +12,10 @@
|
|
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 \
|