diff options
author | Jeff Bailey <jbailey@raspberryginger.com> | 2000-02-17 03:03:19 +0000 |
---|---|---|
committer | Jeff Bailey <jbailey@raspberryginger.com> | 2000-02-17 03:03:19 +0000 |
commit | bd11691d6520f7539e7ed2efdf75f266719e27e9 (patch) | |
tree | 13d3a4e534f6df846a128af52438769b9f51f09e /tests/gentest/divert.1.m4 | |
download | m4-bd11691d6520f7539e7ed2efdf75f266719e27e9.tar.gz |
Initial revision
Diffstat (limited to 'tests/gentest/divert.1.m4')
-rwxr-xr-x | tests/gentest/divert.1.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/gentest/divert.1.m4 b/tests/gentest/divert.1.m4 new file mode 100755 index 00000000..acfc17d7 --- /dev/null +++ b/tests/gentest/divert.1.m4 @@ -0,0 +1,25 @@ +#!/bin/sh + +# gentest/divert.1.m4 is part of the GNU m4 testsuite +# generated from example in ../doc/m4.texinfo line 2580 + +. ${srcdir}/defs + +cat <<\EOF >in +divert(1) +This text is diverted. +divert +This text is not diverted. +EOF + +cat <<\EOF >ok + +This text is not diverted. + +This text is diverted. +EOF + +$M4 -d in >out + +$CMP -s out ok + |