[Top][All Lists]
[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: |
Thu, 16 Nov 2006 14:42:39 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/11/16 14:42:38
Index: tests/others.at
===================================================================
RCS file: /sources/m4/m4/tests/others.at,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- tests/others.at 19 Oct 2006 23:13:45 -0000 1.26
+++ tests/others.at 16 Nov 2006 14:42:38 -0000 1.27
@@ -362,7 +362,7 @@
dnl spilled diversion file must not collide with closed stderr
AT_DATA([in.m4], [M4_ONE_MEG_DEFN[divert(1)f
-and
+and`'dnl(not)
divert
hello`'dnl(world)
undivert
@@ -510,10 +510,19 @@
]], [in.m4])
dnl syscmd inherits closed stdout
-AT_CHECK([cat >&- && { echo "skipping: can't detect closed stdout"; exit 77;
}],
+AT_DATA([hi], [[hi
+]])
+AT_CHECK([cat hi >&- && { echo "skipping: can't detect closed stdout"; exit
77; }],
[1], [], [stderr])
mv stderr experr
-AT_DATA([in.m4], [[syscmd(`cat')dnl
+AT_DATA([in.m4], [[syscmd(`cat hi')dnl
+]])
+AT_CHECK_M4([>&-], [0], [], [experr], [in.m4])
+
+dnl spilled diversion file must not collide with closed stdout
+AT_DATA([in.m4], [M4_ONE_MEG_DEFN[divert(1)f
+syscmd(`cat hi')
+divert(`-1')undivert
]])
AT_CHECK_M4([>&-], [0], [], [experr], [in.m4])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/tests/others.at,v,
Eric Blake <=