automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.12.1-62-


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.12.1-62-gaa630a9
Date: Mon, 25 Jun 2012 08:30:46 +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=aa630a928a586fd8dc8a087337c3462d7f4fd1c6

The branch, maint has been updated
       via  aa630a928a586fd8dc8a087337c3462d7f4fd1c6 (commit)
      from  dbc83fa9f32ee17e52d02d58e1a840fd046ed9a9 (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 aa630a928a586fd8dc8a087337c3462d7f4fd1c6
Author: Stefano Lattarini <address@hidden>
Date:   Sun Jun 24 17:57:10 2012 +0200

    tests: avoid several spurious failures on Solaris
    
    * t/ax/is_newest: Rewrite to be Bourne-compatible, for /bin/sh shells like
    Solaris' that are not POSIX-conforming.  The script is so small that such
    a rewrite is easier than going through the hoops that would be required to
    ensure this script is always executed with a POSIX shell.
    * t/ax/is: Add a comment stating that this script is to be kept Bourne
    compatible as well.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

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

Summary of changes:
 t/ax/is        |    3 +++
 t/ax/is_newest |    8 +++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/t/ax/is b/t/ax/is
index 1e1c0ce..4f043ca 100755
--- a/t/ax/is
+++ b/t/ax/is
@@ -21,6 +21,9 @@
 # in the face of variables defined through line-continuations,
 # automake rewrites and expansions of empty variables.
 
+# NOTE: keep this file Bourne-compatible, for the sake of systems with
+#       non-POSIX /bin/sh (like Solaris).
+
 set -e
 set -u
 
diff --git a/t/ax/is_newest b/t/ax/is_newest
index f52a1a8..cd1a38e 100755
--- a/t/ax/is_newest
+++ b/t/ax/is_newest
@@ -16,8 +16,10 @@
 
 # Usage: is_newest FILE FILES
 # Fail if any file in FILES is newer than FILE, and print the list of
-# such files on the standard error.
-# Resolve ties in favor of FILE.
+# such files on the standard error.  Resolve ties in favor of FILE.
+
+# NOTE: keep this file Bourne-compatible, for the sake of systems with
+#       non-POSIX /bin/sh (like Solaris).
 
 set -u
 
@@ -29,7 +31,7 @@ if test $# -lt 2; then
 fi
 
 file=$1; shift
-newer_files=$(find "$@" -prune -newer "$file") || exit $?
+newer_files=`find "$@" -prune -newer "$file"` || exit $?
 
 if test -n "$newer_files"; then
   echo "$me: these files are newer than '$file':" >&2


hooks/post-receive
-- 
GNU Automake



reply via email to

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