blob: 98786563a23d0e2bc88faa760c36dfa970f407e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# Id: include-value,v 1.2 2003/01/19 19:02:23 karl Exp
# Test @value expansion in @include and @verbatiminclude names.
: ${srcdir=.}
../makeinfo -I $srcdir $srcdir/include-value.txi
exit_status=$?
if test $exit_status = 0; then
# should have three instances of _included_,
# and three of {included}.
count=`grep _included_ include-value.info | wc -l`
test $count = 3 || exit_status=`expr $exit_status + 1`
count=`grep '{included}' include-value.info | wc -l`
test $count = 3 || exit_status=`expr $exit_status + 1`
fi
rm -f include-value.info
exit $exit_status
|