blob: a087f85a67e81ffdc60ca4787504cdf09954d887 (
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
26
27
28
29
|
#!/bin/sh
# generated-tests/changesy.8.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2282
. ${srcdir}/defs
cat <<\EOF >in
define(`test', `==$1==')
changequote(`<<', `>>')
changesyntax(<<L[>>, <<R]>>)
test(<<testing]>>)
test([testing>>])
test([<<testing>>])
EOF
cat <<\EOF >ok
==testing]==
==testing>>==
==testing==
EOF
$M4 -d in >out
$CMP -s out ok
|