]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/quote.test: echo is called ECHO now. Make sure we extract
authorGary V. Vaughan <gary@gnu.org>
Sun, 3 Oct 2004 11:20:53 +0000 (11:20 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 3 Oct 2004 11:20:53 +0000 (11:20 +0000)
the value of ECHO from the libtool script.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

ChangeLog
tests/quote.test

index 52f9c41f290b3a105f2f59da10d1172c063c919f..f5503babe4f0ad6824d000c456d824caf526c1f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-03  Gary V. Vaughan  <gary@gnu.org>
+
+       * tests/quote.test: echo is called ECHO now.  Make sure we extract
+       the value of ECHO from the libtool script.
+       Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
 2004-10-02  Gary V. Vaughan  <gary@gnu.org>
 
        * m4/libtool.m4 (hardcode_shlibpath_var) [darwin7*]: Revert my
index 3e81124448fd6d1e5b0c2c212a882ccf2108f1e2..9745a5150550d0bd94a6ff9da9255e8e53e7a94b 100755 (executable)
 # 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 @@ for mode in compile link install; do
   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 @@ for mode in compile link install; do
   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 mode in compile link install; do
   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