libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest Windows tests status


From: Charles Wilson
Subject: Re: Latest Windows tests status
Date: Sun, 10 Oct 2004 21:49:34 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b

Albert Chin wrote:

ou should:
  echo "$linkresult" | ${EGREP} "../lib/libnlsut.a" >/dev/null 2>&1 || {
    func_fail "$progname: ../lib/libnlsut.a was not used as expected in linking"
  }


Yep, that looks better.  And it even works, too.  :-)

--
Chuck

Index: link.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/link.test,v
retrieving revision 1.8
diff -u -r1.8 link.test
--- link.test   23 Sep 2004 14:50:36 -0000      1.8
+++ link.test   11 Oct 2004 01:49:14 -0000
@@ -28,10 +28,8 @@
 test $? -eq 0 || exit $EXIT_FAILURE
 
 echo "$linkresult"
-case "$linkresult" in
-*../lib/libnlsut.a) ;;
-*)
+echo "$linkresult" | ${EGREP} "../lib/libnlsut.a" >/dev/null 2>&1 || {
   func_fail "$progname: ../lib/libnlsut.a was not used as expected in linking"
-  ;;
-esac
+}
+
 exit $EXIT_SUCCESS

reply via email to

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