[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS tree 2.54c testsuite: grep -w is not universal
From: |
Akim Demaille |
Subject: |
Re: CVS tree 2.54c testsuite: grep -w is not universal |
Date: |
06 Nov 2002 11:28:50 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
Thanks, I'm installing this:
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/torture.at (Configuring subdirectories): Don't use grep
-w.
* doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
Reported by Ezra Peisach.
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.711
diff -u -u -r1.711 autoconf.texi
--- doc/autoconf.texi 6 Nov 2002 08:22:00 -0000 1.711
+++ doc/autoconf.texi 6 Nov 2002 10:28:39 -0000
@@ -10387,6 +10387,9 @@
Stardent Vistra SVR4 @code{grep} lacks @address@hidden Instead, use
extended regular expressions and alternation.
+Don't rely on @option{-w}, as Irix 6.5.16m's @command{grep} does not
+support it.
+
@item @command{ln}
@c ---------------
Index: tests/torture.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/torture.at,v
retrieving revision 1.38
diff -u -u -r1.38 torture.at
--- tests/torture.at 29 Oct 2002 08:09:40 -0000 1.38
+++ tests/torture.at 6 Nov 2002 10:28:39 -0000
@@ -687,8 +687,8 @@
# Running the outer configure recursively should provide the innermost
# help strings.
-AT_CHECK([./configure --help=recursive | grep -w INNER], 0, [ignore])
-AT_CHECK([./configure --help=recursive | grep -w INNERMOST], 0, [ignore])
+AT_CHECK([./configure --help=recursive | grep " INNER "], 0, [ignore])
+AT_CHECK([./configure --help=recursive | grep " INNERMOST "], 0, [ignore])
# Running the outer configure should trigger the inner.
AT_CHECK_CONFIGURE([INNERMOST=tsomrenni])