Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / texinfo / makeinfo / tests / include-value
blob050a6178998d936c7f435817ac66e25462f94c97
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.
5 unset TEXINFO_OUTPUT
6 : ${srcdir=.}
8 ../makeinfo -I $srcdir $srcdir/include-value.txi
9 exit_status=$?
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`
17 count=`grep '{included}' include-value.info | wc -l`
18 test $count = 3 || exit_status=`expr $exit_status + 1`
21 rm -f include-value.info
22 exit $exit_status