Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / texinfo / makeinfo / tests / accent
blob16c69e8e0d3ad3bd6102deb1b35ff1a39a9e1900
1 #!/bin/sh
2 # Test accent output.
4 unset TEXINFO_OUTPUT
5 : ${srcdir=.}
6 input=`basename $0`.txi
8 # html.
9 houtput=`basename $0`.html
10 ../makeinfo --html --no-split -I$srcdir $srcdir/$input
11 hexit_status=$?
12 if test $hexit_status = 0; then
13 grep 'ì' $houtput >/dev/null \
14 && grep '´j' $houtput >/dev/null \
15 && grep 'Ø' $houtput >/dev/null \
16 && grep '/L' $houtput >/dev/null
17 hexit_status=$?
20 # info
21 ioutput=`basename $0`.info
22 ../makeinfo --no-split -I$srcdir $srcdir/$input
23 iexit_status=$?
24 if test $iexit_status = 0; then
25 grep 'i`' $ioutput >/dev/null \
26 && grep 'i"' $ioutput >/dev/null \
27 && grep '/L' $ioutput >/dev/null
28 iexit_status=$?
31 rm -f $houtput $ioutput
33 exit_status=`expr $hexit_status + $iexit_status`
34 exit $exit_status