#!/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