diff options
Diffstat (limited to 'tests/gentest/changesy.1.test')
-rwxr-xr-x | tests/gentest/changesy.1.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/gentest/changesy.1.test b/tests/gentest/changesy.1.test new file mode 100755 index 00000000..344bf506 --- /dev/null +++ b/tests/gentest/changesy.1.test @@ -0,0 +1,27 @@ +#!/bin/sh + +# gentest/changesy.1.test 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 + |