Running the pacman test-suite in a non-English locale results in a few
failures.  Force the test-suite to run with LC_ALL=C.

Signed-off-by: Allan McRae <[email protected]>
---

Not sure if this is the best approach or whether we should just have the
three tests that require it to run under the C locale.

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 75760bb..fb7a4d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@ dist_pkgdata_DATA = \
 
 # run the pactest test suite and vercmp tests
 check-local: test/pacman test/util src/pacman src/util
-       $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
+       LC_ALL=C $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
                --test $(top_srcdir)/test/pacman/tests/*.py \
                -p $(top_builddir)/src/pacman/pacman
        $(SH) $(top_srcdir)/test/util/pacsorttest.sh \
-- 
1.7.6.1


Reply via email to