diff options
Diffstat (limited to 'tests/gentest/changesy.7.test')
-rwxr-xr-x | tests/gentest/changesy.7.test | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/gentest/changesy.7.test b/tests/gentest/changesy.7.test new file mode 100755 index 00000000..014c152f --- /dev/null +++ b/tests/gentest/changesy.7.test @@ -0,0 +1,29 @@ +#!/bin/sh + +# gentest/changesy.7.test is part of the GNU m4 testsuite +# generated from example in ../doc/m4.texinfo line 2234 + +. ${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 + |