automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-383-


From: Ralf Wildenhues
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-383-g99d9b7e
Date: Sun, 03 Oct 2010 10:02:55 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=99d9b7eab9d01b4585ddc03c8c99767bb73e061e

The branch, master has been updated
       via  99d9b7eab9d01b4585ddc03c8c99767bb73e061e (commit)
       via  c35a65c05d1cf4f8d95ce546ae4c7b2d6bd19ac5 (commit)
      from  145c2d0d024e2213a5c833427b4281fb55001709 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 99d9b7eab9d01b4585ddc03c8c99767bb73e061e
Merge: 145c2d0 c35a65c
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Oct 3 12:01:47 2010 +0200

    Merge branch 'msvc'
    
    * msvc:
      tests: fix ar-lib.test for echo that interprets backslashes.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    6 ++++++
 tests/ar-lib.test |   10 +++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5a15698..409ab8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-10-03  Ralf Wildenhues  <address@hidden>
 
+       tests: fix ar-lib.test for echo that interprets backslashes.
+       * tests/ar-lib.test: Use printf instead of echo.  Avoid test -a.
+       More robust quoting.
+
+2010-10-03  Ralf Wildenhues  <address@hidden>
+
        maintainer-check coverage for variables before rules.
        * Makefile.am (sc_ensure_testsuite_has_run): Suggest keeping
        around the test directories.
diff --git a/tests/ar-lib.test b/tests/ar-lib.test
index 4759b65..31d87ed 100755
--- a/tests/ar-lib.test
+++ b/tests/ar-lib.test
@@ -21,15 +21,15 @@
 set -e
 
 cp "$testsrcdir/../lib/ar-lib" .
-# Use a dummy lib, since lib isn't readily available on all systems
+# Use a dummy lib, since lib isn't readily available on all systems.
 cat >lib <<'END'
 #! /bin/sh
-if test x"$2" = x-LIST -a $3 = fake.lib; then
+if test x"$2" = x-LIST && test x"$3" = xfake.lib; then
   echo fake.obj
-elif test x"$2" = x-LIST -a $3 = fake2.lib; then
-  echo dir\\fake2.obj
+elif test x"$2" = x-LIST && test x"$3" = xfake2.lib; then
+  printf "%s\n" "dir\\fake2.obj"
 else
-  echo "lib $@"
+  printf "%s\n" "lib $*"
 fi
 END
 


hooks/post-receive
-- 
GNU Automake



reply via email to

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