summaryrefslogtreecommitdiff
path: root/tests/gentest/include.3.m4
blob: 0f286a819d592b47565ba76421735fd3def8171c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

# gentest/include.3.m4 is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2489

. ${srcdir}/defs

cat <<\EOF >in
define(`bar', include(`incl.m4'))
This is `bar':  >>>bar<<<
EOF

cat <<\EOF >ok

This is bar:  >>>Include file start
foo
Include file end
<<<
EOF

M4PATH=$srcdir $M4 -d in >out

$CMP -s out ok