libtool-patches
[Top][All Lists]
Advanced

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

FYI: extract ECHO from libtool --config [libtool--devo--1.0--patch-225]


From: Gary V. Vaughan
Subject: FYI: extract ECHO from libtool --config [libtool--devo--1.0--patch-225]
Date: Sun, 3 Oct 2004 12:23:13 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.

  * looking for address@hidden/libtool--devo--1.0--patch-224 to compare with
  * comparing to address@hidden/libtool--devo--1.0--patch-224
  M  ChangeLog
  M  tests/quote.test
  
  * modified files
  
  Index: Changelog
  from  Gary V. Vaughan  <address@hidden>
  
        * tests/quote.test: echo is called ECHO now.  Make sure we extract
        the value of ECHO from the libtool script.
        Reported by Bob Friesenhahn <address@hidden>
  
  --- orig/tests/quote.test
  +++ mod/tests/quote.test
  @@ -26,10 +26,10 @@
   # Do the torture test.
   status=$EXIT_SUCCESS
   
  -func_get_config "echo" "../libtool --config"
  +func_get_config "ECHO" "../libtool --config"
   
   for mode in compile link install; do
  -  $echo "== $mode mode"
  +  $ECHO "== $mode mode"
   
     # Unfortunately, without an array data type, it is nearly impossible
     # to protect libtool from metacharacters in filenames.  So, we just
  @@ -60,7 +60,7 @@
     esac
   
     # Trivial.
  -  $echo "= trying: no quoting"
  +  $ECHO "= trying: no quoting"
     result=`$LIBTOOL -n --mode=$mode $preargs ${preflag}"${flag}test" 
$postargs` || status=$EXIT_FAILURE
     # We used to have the contents of $match in the case statement,
     # without an intermediate variable, but it would fail on at least
  @@ -68,25 +68,25 @@
     match="$preargs ${preflag}${flag}test "
     case "$result" in
     *"$match"*)
  -    $echo "= passed: $result"
  +    $ECHO "= passed: $result"
       ;;
     *)
  -    $echo "= failed: $result"
  +    $ECHO "= failed: $result"
       status=$EXIT_FAILURE
       ;;
     esac
   
     # Metacharacters that should be backslashified.
     for mchar in \\ \" \` \$; do
  -    $echo "= trying: \\$mchar quoting"
  +    $ECHO "= trying: \\$mchar quoting"
       result=`$LIBTOOL -n --mode=$mode $preargs 
${preflag}"${flag}${mchar}test${mchar}" $postargs` || status=$EXIT_FAILURE
       match="$preargs ${preflag}${flag}\\${mchar}test\\${mchar} "
       case "$result" in
       *"$match"*)
  -      $echo "= passed: $result"
  +      $ECHO "= passed: $result"
         ;;
       *)
  -      $echo "= failed: $result"
  +      $ECHO "= failed: $result"
         status=$EXIT_FAILURE
         ;;
       esac
  @@ -96,15 +96,15 @@
     for mchar in "[" "]" "~" "#" "^" "&" "*" "(" ")" "{" "}" "|" ";" "<" ">" 
"?" \
         "'" " " "      "; do
   
  -    $echo "= trying: \"$mchar\" quoting"
  +    $ECHO "= trying: \"$mchar\" quoting"
       result=`$LIBTOOL -n --mode=$mode $preargs 
${preflag}"${flag}${mchar}test${mchar}" $postargs` || status=$EXIT_FAILURE
       match="$preargs ${preflag}\"${flag}${mchar}test${mchar}\" "
       case "$result" in
       *"$match"*)
  -      $echo "= passed: $result"
  +      $ECHO "= passed: $result"
         ;;
       *)
  -      $echo "= failed: $result"
  +      $ECHO "= failed: $result"
         status=$EXIT_FAILURE
         ;;
       esac
  
  
  
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.6
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBX+EhFRMICSmD1gYRAqdhAJ9CRnmopP750L/VfOb0Q/16PQxsOACgslh7
ukNHb3X5bvvnit5b2aX7CHk=
=62e2
-----END PGP SIGNATURE-----




reply via email to

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