CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/10/06 18:24:32
Index: tests/others.at =================================================================== RCS file: /sources/m4/m4/tests/others.at,v retrieving revision 1.21 retrieving revision 1.22 diff -u -b -r1.21 -r1.22 --- tests/others.at 5 Oct 2006 23:07:28 -0000 1.21 +++ tests/others.at 6 Oct 2006 18:24:31 -0000 1.22 @@ -398,11 +398,12 @@ undivert goodbye ]]) -AT_CHECK_M4([2>&-], [1], +AT_CHECK_M4([2>&-], [1], [stdout], [], [in.m4]) +AT_CHECK([sed -ne '/./p' stdout], [0], [[hello and goodbye -]], [], [in.m4 | sed -ne '/./p']) +]]) dnl command line input file must not collide with closed stderr AT_DATA([in.m4], [[syscmd(`cat <&2')sysval
