diff options
Diffstat (limited to 'examples/ddivert.test')
-rwxr-xr-x | examples/ddivert.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/ddivert.test b/examples/ddivert.test new file mode 100755 index 00000000..5db82e90 --- /dev/null +++ b/examples/ddivert.test @@ -0,0 +1,18 @@ +#!/bin/sh + +# ddivert.test is part of the GNU m4 testsuite + +. ${srcdir}/defs + +cat <<\EOF >in +include(ddivert.m4)dnl +EOF + +cat <<\EOF >ok +Text diverted a first time. +Text diverted a second time. +EOF + +M4PATH=$srcdir $M4 -d in >out + +$CMP -s out ok |