blob: be842c368b85c6e3ffeccc14fe2fbb5b23b9faf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|