blob: 16c69e8e0d3ad3bd6102deb1b35ff1a39a9e1900 (
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
25
26
27
28
29
30
31
32
33
34
|
#!/bin/sh
# Test accent output.
unset TEXINFO_OUTPUT
: ${srcdir=.}
input=`basename $0`.txi
# html.
houtput=`basename $0`.html
../makeinfo --html --no-split -I$srcdir $srcdir/$input
hexit_status=$?
if test $hexit_status = 0; then
grep 'ì' $houtput >/dev/null \
&& grep '´j' $houtput >/dev/null \
&& grep 'Ø' $houtput >/dev/null \
&& grep '/L' $houtput >/dev/null
hexit_status=$?
fi
# info
ioutput=`basename $0`.info
../makeinfo --no-split -I$srcdir $srcdir/$input
iexit_status=$?
if test $iexit_status = 0; then
grep 'i`' $ioutput >/dev/null \
&& grep 'i"' $ioutput >/dev/null \
&& grep '/L' $ioutput >/dev/null
iexit_status=$?
fi
rm -f $houtput $ioutput
exit_status=`expr $hexit_status + $iexit_status`
exit $exit_status
|