libtool-patches
[Top][All Lists]
Advanced

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

Re: Latest Windows tests status


From: Albert Chin
Subject: Re: Latest Windows tests status
Date: Sun, 10 Oct 2004 20:23:32 -0500
User-agent: Mutt/1.5.6i

On Sun, Oct 10, 2004 at 09:15:09PM -0400, Charles Wilson wrote:
> link.test was discussed yesterday, but nobody officially submitted a 
> patch for it. The attached works for me.

Ick. Comment below.

> 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:13:16 -0000
> @@ -28,10 +28,10 @@
>  test $? -eq 0 || exit $EXIT_FAILURE
>  
>  echo "$linkresult"
> -case "$linkresult" in
> -*../lib/libnlsut.a) ;;
> -*)
> +
> +testlinkresult=`echo "$linkresult" | ${EGREP} "../lib/libnlsut.a"`
> +if test -z "$testlinkresult" ; then
>    func_fail "$progname: ../lib/libnlsut.a was not used as expected in 
> linking"
> -  ;;
> -esac
> +fi
> +
>  exit $EXIT_SUCCESS

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

-- 
albert chin (address@hidden)




reply via email to

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