From: Ralf Wildenhues Date: Wed, 10 May 2006 21:01:26 +0000 (+0000) Subject: * tests/longlin2.test: Do not use `grep' on Makefile.am: X-Git-Tag: Release-1-9b~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf394ecf4454b70c1e94d3af70ecc3c537033325;p=thirdparty%2Fautomake.git * tests/longlin2.test: Do not use `grep' on Makefile.am: it has long lines and is thus not a text file; AIX 5.1 grep fails to scan non-plain patterns from long lines. --- diff --git a/ChangeLog b/ChangeLog index 063391a1e..70c9fbca7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-10 Ralf Wildenhues + * tests/longlin2.test: Do not use `grep' on Makefile.am: + it has long lines and is thus not a text file; AIX 5.1 grep + fails to scan non-plain patterns from long lines. + * tests/overrid.test: Change all regexes for warning messages to match after a colon, so that the prepended file names do not cause false matches. Tighten overrides regex. Fix typo diff --git a/tests/longlin2.test b/tests/longlin2.test index 7d461bee0..54363f43d 100755 --- a/tests/longlin2.test +++ b/tests/longlin2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2006 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -42,10 +42,10 @@ FOO = $files $files2 \ EOF # The `FOO = ...' line is 2293-byte long. More than what a POSIX -# conforment system is expected to support. +# conformant system is expected to support. So do not use grep +# on the non-text file. -# (It's OK if grep truncates the long line.) -grep $match Makefile.am +# grep $match Makefile.am $ACLOCAL $AUTOMAKE