source: trunk/essentials/sys-apps/texinfo/makeinfo/tests/include-value

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

GNU Texinfo 4.8

File size: 611 bytes
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
5unset TEXINFO_OUTPUT
6: ${srcdir=.}
7
8../makeinfo -I $srcdir $srcdir/include-value.txi
9exit_status=$?
10
11if 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`
19fi
20
21rm -f include-value.info
22exit $exit_status
Note: See TracBrowser for help on using the repository browser.