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