diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-01-17 15:29:11 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-01-17 15:29:11 +0000 |
commit | 4ca63c0cf0f37ab550bcca8b36f67f631cf1f8d0 (patch) | |
tree | e055aa1329452dceeafd63de121a048a08a2eb7f /makeinfo/tests/accentenc | |
download | texinfo-tarball-4ca63c0cf0f37ab550bcca8b36f67f631cf1f8d0.tar.gz |
Tarball conversion
Diffstat (limited to 'makeinfo/tests/accentenc')
-rwxr-xr-x | makeinfo/tests/accentenc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/makeinfo/tests/accentenc b/makeinfo/tests/accentenc new file mode 100755 index 0000000..be842c3 --- /dev/null +++ b/makeinfo/tests/accentenc @@ -0,0 +1,24 @@ +#!/bin/sh +# Test encoded accent info output. + +unset TEXINFO_OUTPUT +: ${srcdir=.} +input=`basename $0`.txi +output=`basename $0`.info + +# we expect two invalid encoded characters: +# accent-text.txi:45: warning: invalid encoded character `#156'. +# accent-text.txi:45: warning: invalid encoded character `#140'. +# These are oe and OE, and they are not supported in Latin 1. +../makeinfo --enable-encoding --no-split -I$srcdir $srcdir/$input 2>/dev/null +exit_status=$? +if test $exit_status = 0; then + grep 'ì' $output >/dev/null \ + && grep 'ï' $output >/dev/null \ + && grep '/L' $output >/dev/null + exit_status=$? +fi + +rm -f $output + +exit $exit_status |