FYI: tests/sh.test uses $SED without setting it

2005-07-08 Thread Ralf Wildenhues
* Derek Price wrote on Fri, Jul 08, 2005 at 05:20:14PM CEST:
 Ralf Wildenhues wrote:
 * Derek Price wrote on Thu, Jul 07, 2005 at 07:06:37PM CEST:
 
 While working on some other stuff, I noticed that tests/sh.test is
 calling $SED without it being set, though this was only causing a
*snip*
 You omitted the patch.  I believe you are talking about branch-1-5
 Libtool, right?  How about setting SED and Xsed in tests/defs?
 
 That would be fine, though it looks like tests/sh.test is the only test
 using $SED on 1.5.  I've attached my original patch anyho in case you
 want it - it just adds `: ${SED=sed}' to an early line of tests/sh.test
 to set a default without overriding any environment.

Alright.  I have applied this to branch-1-5.  This issue is not present
in the other branches.  IMHO it does not matter which sed is chosen
here.

Thanks!
Ralf

2005-07-08  Derek R. Price  [EMAIL PROTECTED]

* tests/defs (SED): Default variable contents to `sed'.
Fixes false PASS of sh.test.

Index: tests/defs
===
RCS file: /cvsroot/libtool/libtool/tests/Attic/defs,v
retrieving revision 1.5.2.3
diff -u -r1.5.2.3 defs
--- tests/defs  8 Apr 2005 13:00:50 -   1.5.2.3
+++ tests/defs  8 Jul 2005 15:26:53 -
@@ -17,8 +17,9 @@
 progname=`echo $0 | sed 's%^.*/%%'`
 
 libtool=../libtool
-make=${MAKE-make}
 SHELL=${CONFIG_SHELL-/bin/sh}
+: ${MAKE=make}
+: ${SED=sed}
 
 if echo a | (grep -E '(a|b)') /dev/null 21; then
   EGREP='grep -E'


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: FYI: tests/sh.test uses $SED without setting it

2005-07-08 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Jul 08, 2005 at 05:28:06PM CEST:
 
 --- tests/defs8 Apr 2005 13:00:50 -   1.5.2.3
 +++ tests/defs8 Jul 2005 15:26:53 -
 @@ -17,8 +17,9 @@
  progname=`echo $0 | sed 's%^.*/%%'`
  
  libtool=../libtool
 -make=${MAKE-make}
  SHELL=${CONFIG_SHELL-/bin/sh}
 +: ${MAKE=make}
 +: ${SED=sed}
  
  if echo a | (grep -E '(a|b)') /dev/null 21; then
EGREP='grep -E'
 

Argh.  I'm very sorry.

2005-07-08  Ralf Wildenhues  [EMAIL PROTECTED]

* tests/defs (make): Undo bogus change I did, and also 
wrongly attributed to Derek R. Price.

Index: tests/defs
===
RCS file: /cvsroot/libtool/libtool/tests/Attic/defs,v
retrieving revision 1.5.2.4
diff -u -r1.5.2.4 defs
--- tests/defs  8 Jul 2005 15:27:52 -   1.5.2.4
+++ tests/defs  8 Jul 2005 15:47:00 -
@@ -17,8 +17,8 @@
 progname=`echo $0 | sed 's%^.*/%%'`
 
 libtool=../libtool
+make=${MAKE-make}
 SHELL=${CONFIG_SHELL-/bin/sh}
-: ${MAKE=make}
 : ${SED=sed}
 
 if echo a | (grep -E '(a|b)') /dev/null 21; then


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool