Line | |
---|
1 | #!/bin/sh
|
---|
2 | # $Id: include-value,v 1.3 2004/04/11 17:56:47 karl Exp $
|
---|
3 | # Test @value expansion in @include and @verbatiminclude names.
|
---|
4 |
|
---|
5 | unset TEXINFO_OUTPUT
|
---|
6 | : ${srcdir=.}
|
---|
7 |
|
---|
8 | ../makeinfo -I $srcdir $srcdir/include-value.txi
|
---|
9 | exit_status=$?
|
---|
10 |
|
---|
11 | if test $exit_status = 0; then
|
---|
12 | # should have three instances of _included_,
|
---|
13 | # and three of {included}.
|
---|
14 | count=`grep _included_ include-value.info | wc -l`
|
---|
15 | test $count = 3 || exit_status=`expr $exit_status + 1`
|
---|
16 |
|
---|
17 | count=`grep '{included}' include-value.info | wc -l`
|
---|
18 | test $count = 3 || exit_status=`expr $exit_status + 1`
|
---|
19 | fi
|
---|
20 |
|
---|
21 | rm -f include-value.info
|
---|
22 | exit $exit_status
|
---|
Note:
See
TracBrowser
for help on using the repository browser.