35 lines
806 B
Text
Executable file
35 lines
806 B
Text
Executable file
#!@SH@
|
|
|
|
@PERL@ builder -reference -database $srcdir/UnicodeData-@UNICODE_VERSION@.txt > unac.reference
|
|
|
|
if ./unactest | diff -bu - unac.reference
|
|
then
|
|
:
|
|
else
|
|
echo "unactest | diff - unac.reference must not show any difference" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if ./unaccent ISO-8859-1 été ete > /dev/null
|
|
then
|
|
:
|
|
else
|
|
./unaccent --debug_high ISO-8859-1 été ete
|
|
exit 1
|
|
fi
|
|
|
|
#
|
|
# Rune Nordbøe Skillingstad <runesk@linpro.no> on
|
|
# UnicodeData-3.2.0.txt: 2 LATIN characters used in Norway didn't have
|
|
# a "Character Decomposition Mapping". I've submitted a patch to
|
|
# unicode.org that fixes this problem, but it might take some time
|
|
# before somebody there have time to do something about it.
|
|
#
|
|
if ./unaccent ISO-8859-1 æøåÆØÅ aeoaAEOA > /dev/null
|
|
then
|
|
:
|
|
else
|
|
./unaccent --debug_high ISO-8859-1 æøåÆØÅ aeoaAEOA
|
|
exit 1
|
|
fi
|
|
|