blob: 0cac736327349a65f1b6e8dfac1bd351df158672 (
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
25
|
#!/bin/sh
# generated-tests/defn.2.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 1244
. ${srcdir}/defs
cat <<\EOF >in
define(`string', `The macro dnl is very useful
')
string
defn(`string')
EOF
cat <<\EOF >ok
The macro
The macro dnl is very useful
EOF
$M4 -d in >out
$CMP -s out ok
|