From 887480c32e06ea9e243607010abb3d6816e55159 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Mon, 4 Nov 2002 18:11:39 +0000 Subject: [PATCH] Have a way to test with a different language, through GEDCOM_LANG. --- t/src/test_prologue.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/t/src/test_prologue.sh b/t/src/test_prologue.sh index dfbdb4d..979c2ae 100644 --- a/t/src/test_prologue.sh +++ b/t/src/test_prologue.sh @@ -25,6 +25,10 @@ if [ -z "$expected_result" ] then expected_result=0 fi +if [ -z "$GEDCOM_LANG" ] +then + GEDCOM_LANG=C +fi # For use outside Makefile if [ -z "$srcdir" ] @@ -41,8 +45,8 @@ options="$options -o $outfile" GCONV_PATH=.:$GCONV_PATH export GCONV_PATH -LANG=C -export LANG +LC_ALL=$GEDCOM_LANG +export LC_ALL ln -s $srcdir/../data/gedcom.enc . ln -s $builddir/../data/new.ged . ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so . -- 2.30.2