source: trunk/essentials/sys-apps/texinfo/makeinfo/tests/accent

Last change on this file was 2617, checked in by bird, 19 years ago

GNU Texinfo 4.8

File size: 764 bytes
Line 
1#!/bin/sh
2# Test accent output.
3
4unset TEXINFO_OUTPUT
5: ${srcdir=.}
6input=`basename $0`.txi
7
8# html.
9houtput=`basename $0`.html
10../makeinfo --html --no-split -I$srcdir $srcdir/$input
11hexit_status=$?
12if 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=$?
18fi
19
20# info
21ioutput=`basename $0`.info
22../makeinfo --no-split -I$srcdir $srcdir/$input
23iexit_status=$?
24if 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=$?
29fi
30
31rm -f $houtput $ioutput
32
33exit_status=`expr $hexit_status + $iexit_status`
34exit $exit_status
Note: See TracBrowser for help on using the repository browser.