Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / texinfo / makeinfo / tests / accentenc
blobbe842c368b85c6e3ffeccc14fe2fbb5b23b9faf8
1 #!/bin/sh
2 # Test encoded accent info output.
4 unset TEXINFO_OUTPUT
5 : ${srcdir=.}
6 input=`basename $0`.txi
7 output=`basename $0`.info
9 # we expect two invalid encoded characters:
10 # accent-text.txi:45: warning: invalid encoded character `#156'.
11 # accent-text.txi:45: warning: invalid encoded character `#140'.
12 # These are oe and OE, and they are not supported in Latin 1.
13 ../makeinfo --enable-encoding --no-split -I$srcdir $srcdir/$input 2>/dev/null
14 exit_status=$?
15 if test $exit_status = 0; then
16 grep 'ì' $output >/dev/null \
17 && grep 'ï' $output >/dev/null \
18 && grep '/L' $output >/dev/null
19 exit_status=$?
22 rm -f $output
24 exit $exit_status