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.11-360-g


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-360-ga370e2f
Date: Sat, 07 May 2011 13:03:00 +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=a370e2f5cd098af9b95314cdd49b0fbee6588a82

The branch, maint has been updated
       via  a370e2f5cd098af9b95314cdd49b0fbee6588a82 (commit)
      from  293b93fcbe264c701ebb88bee5eee0dcf685ac38 (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 a370e2f5cd098af9b95314cdd49b0fbee6588a82
Author: Stefano Lattarini <address@hidden>
Date:   Sat May 7 14:34:39 2011 +0200

    tests: fix spurious failure of txinfo21.test on FreeBSD
    
    * tests/txinfo21.test: Use the `is_newest' subroutine instead of
    the `ls -t' hack to to determine whether a file has been updated.
    This is required because at least FreeBSD `ls' do not sort files
    with the same timestamp in alphabetical order when using the `-t'
    option.

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

Summary of changes:
 ChangeLog           |    9 +++++++++
 tests/txinfo21.test |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 62c5493..b9c71f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-05-07  Stefano Lattarini  <address@hidden>
+
+       tests: fix spurious failure of txinfo21.test on FreeBSD
+       * tests/txinfo21.test: Use the `is_newest' subroutine instead of
+       the `ls -t' hack to to determine whether a file has been updated.
+       This is required because at least FreeBSD `ls' do not sort files
+       with the same timestamp in alphabetical order when using the `-t'
+       option.
+
 2011-05-04  Stefano Lattarini  <address@hidden>
 
        tests defs: allow requirements for compilers (mostly dummy)
diff --git a/tests/txinfo21.test b/tests/txinfo21.test
index 4bbce4a..5644c0b 100755
--- a/tests/txinfo21.test
+++ b/tests/txinfo21.test
@@ -95,11 +95,11 @@ test -d sub/main2.html
 test -d rec/main3.html
 
 # Rebuilding main.html should cause its timestamp to be updated.
-test `ls -1td main.texi main.html | sed 1q` = main.html
+is_newest main.html main.texi
 $sleep
 touch main.texi
 $MAKE html
-test `ls -1td main.texi main.html | sed 1q` = main.html
+is_newest main.html main.texi
 
 $MAKE clean
 test ! -d main.html


hooks/post-receive
-- 
GNU Automake



reply via email to

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