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: Thu, 12 Apr 2007 17:38:29 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/04/12 17:38:28

Index: tests/others.at
===================================================================
RCS file: /sources/m4/m4/tests/others.at,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- tests/others.at     12 Apr 2007 16:27:20 -0000      1.33
+++ tests/others.at     12 Apr 2007 17:38:28 -0000      1.34
@@ -473,12 +473,6 @@
 AT_CHECK([(m4; cat) < in.m4], [0], [[trailing data
 ]])
 
-dnl Not all OS's have a libc that gets the remaining tests right (for
-dnl example, cygwin 1.5.22 and earlier).
-AT_CHECK([(sed -ne 1q; cat) < in.m4], [0], [stdout])
-AT_CHECK([test "x`cat stdout`" = "x0)trailing data" || \
-  { echo "skipping: sed is too greedy on seekable stdin"; exit 77; }])
-
 dnl Check external follow-on process, after fatal error.
 dnl We can't use AT_CHECK_M4, so we must post-process stderr ourselves.
 AT_DATA([in.m4], [[dnl(
@@ -490,6 +484,12 @@
 [[m4:stdin:1: Warning: dnl: extra arguments ignored: 1 > 0
 ]])
 
+dnl Not all sed and libc combinations get the remaining tests right (for
+dnl example, sed 4.1.4 on glibc, or cygwin 1.5.22 and earlier).
+AT_CHECK([(sed -ne 1q; cat) < in.m4], [0], [stdout])
+AT_CHECK([test "x`cat stdout`" = "x0)trailing data" || \
+  { echo "skipping: sed is too greedy on seekable stdin"; exit 77; }])
+
 dnl Ensure that esyscmd resumes parsing where the child process left off.
 AT_DATA([in.m4], [[define(`foo', `FOO')m4 foo
 esyscmd(`sed -e "s/foo/bar/;q"')sed foo




reply via email to

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