summaryrefslogtreecommitdiff
path: root/tests/gentest/incr.1.test
blob: d9da8faaf5127382441bb60066d988e508314a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# gentest/incr.1.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 3105

. ${srcdir}/defs

cat <<\EOF >in
incr(4)
decr(7)
EOF

cat <<\EOF >ok
5
6
EOF

$M4 -d in >out

$CMP -s out ok