summaryrefslogtreecommitdiff
path: root/examples/ddivert.test
blob: 5db82e90afe7e467b7ceeccfc16125c1ab908366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# ddivert.test is part of the GNU m4 testsuite

. ${srcdir}/defs

cat <<\EOF >in
include(ddivert.m4)dnl
EOF

cat <<\EOF >ok
Text diverted a first time.
Text diverted a second time.
EOF

M4PATH=$srcdir $M4 -d in >out

$CMP -s out ok