| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | # Test encoded accent info output.
|
|---|
| 3 |
|
|---|
| 4 | unset TEXINFO_OUTPUT
|
|---|
| 5 | : ${srcdir=.}
|
|---|
| 6 | input=`basename $0`.txi
|
|---|
| 7 | output=`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
|
|---|
| 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=$?
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 22 | rm -f $output
|
|---|
| 23 |
|
|---|
| 24 | exit $exit_status
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.