blob: edf228d0ee6692d3fd11d54e21d1d31fa9580182 (
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
# include.3.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2490
. ${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
|