Have a way to test with a different language, through GEDCOM_LANG.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 4 Nov 2002 18:11:39 +0000 (18:11 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 4 Nov 2002 18:11:39 +0000 (18:11 +0000)
t/src/test_prologue.sh

index dfbdb4daabf5e1401d582b8dd505590c420ba03e..979c2ae09a10f4067c497a07685401de496065a8 100644 (file)
@@ -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 .