3 # For use outside Makefile
10 GCONV_PATH=.:$GCONV_PATH
12 ln -s $srcdir/../data/gedcom.enc .
13 ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
14 ln -s $srcdir/../iconv/glibc/gconv-modules .
20 PATH=$ICONV_PATH:$PATH
24 echo "Testing conversion from ANSEL to UTF-8" >> testgedcom.out
25 iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselutf8.out
26 if ! diff $srcdir/input/anselutf8.ged anselutf8.out >> testgedcom.out
30 echo "Testing conversion from UTF-8 to ANSEL" >> testgedcom.out
31 iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > ansel.out
32 if ! diff $srcdir/input/ansel.ged ansel.out >> testgedcom.out