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

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

GNU Texinfo 4.8

File size: 647 bytes
Line 
1#!/bin/sh
2# Test encoded accent info output.
3
4unset TEXINFO_OUTPUT
5: ${srcdir=.}
6input=`basename $0`.txi
7output=`basename $0`.info
8
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
14exit_status=$?
15if test $exit_status = 0; then
16 grep 'ì' $output >/dev/null \
17 && grep 'ï' $output >/dev/null \
18 && grep '/L' $output >/dev/null
19 exit_status=$?
20fi
21
22rm -f $output
23
24exit $exit_status
Note: See TracBrowser for help on using the repository browser.