m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/tests/others.at,v


From: Eric Blake
Subject: Changes to m4/tests/others.at,v
Date: Sat, 07 Oct 2006 05:02:57 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/10/07 05:02:56

Index: tests/others.at
===================================================================
RCS file: /sources/m4/m4/tests/others.at,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- tests/others.at     6 Oct 2006 18:24:31 -0000       1.22
+++ tests/others.at     7 Oct 2006 05:02:56 -0000       1.23
@@ -543,11 +543,13 @@
 AT_CHECK_M4([>&-], [0], [], [experr], [in.m4])
 
 dnl command line input file must not collide with closed stdout
-AT_DATA([in.m4], [[syscmd(`cat <&1 >&2')
+AT_DATA([in.m4], [[syscmd(`cat <&1 >&2')dnl
 dnl this line should not be read by cat
 ]])
 AT_CHECK_M4([in.m4 >&-], [0], [], [stderr])
-AT_CHECK([sed -ne '/should not be read/p' stderr], [0])
+AT_CHECK([sed -e 's/.*\(Bad file descriptor\)$/\1/' stderr], [0],
+[[Bad file descriptor
+]])
 
 AT_CLEANUP
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]