From bf394ecf4454b70c1e94d3af70ecc3c537033325 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 10 May 2006 21:01:26 +0000 Subject: [PATCH] * 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. --- ChangeLog | 4 ++++ tests/longlin2.test | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 063391a..70c9fbc 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 7d461be..54363f4 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 -- 2.7.4