diff options
Diffstat (limited to 'tests/gentest/changesy.3.m4')
-rwxr-xr-x | tests/gentest/changesy.3.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/gentest/changesy.3.m4 b/tests/gentest/changesy.3.m4 new file mode 100755 index 00000000..8f86a03a --- /dev/null +++ b/tests/gentest/changesy.3.m4 @@ -0,0 +1,25 @@ +#!/bin/sh + +# gentest/changesy.3.m4 is part of the GNU m4 testsuite +# generated from example in ../doc/m4.texinfo line 2158 + +. ${srcdir}/defs + +cat <<\EOF >in +define(`test', `$1$2$3') +test(a, b, c) +changesyntax(`O ') +test(a, b, c) +EOF + +cat <<\EOF >ok + +abc + +a b c +EOF + +$M4 -d in >out + +$CMP -s out ok + |