]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/aclocal7.test: Add `$sleep's between file touching
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 10 May 2006 20:50:53 +0000 (20:50 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 10 May 2006 20:50:53 +0000 (20:50 +0000)
and automake resp aclocal+automake invocations, to ensure
they complete with a time stamp strictly later than the touched
file.

ChangeLog
tests/aclocal7.test

index a74c1823b4fd94c484fa471849d0604c339a0f60..1811f53280b67c4eb24b11d44fe362579f2f9e72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * tests/aclocal7.test: Add `$sleep's between file touching
+       and automake resp aclocal+automake invocations, to ensure
+       they complete with a time stamp strictly later than the touched
+       file.
+
        * lib/missing: Remove superfluous quotes.  Replace all uses of
        `[' by `test', for consistency, and for..
        * tests/missing5.test: ..this new test.
index 787565cb5b8857ffc984f5467268cb8c0ad9b098..f6d5e315b18f53b45a4f62c59f537988f9343482 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2003  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -89,6 +89,7 @@ test `ls -1t sub/Makefile.in foo | sed 1q` = sub/Makefile.in
 touch fragment.inc
 $sleep
 touch foo
+$sleep
 $ACLOCAL -I m4
 $AUTOMAKE --no-force
 # Only ./Makefile.in should change.
@@ -101,6 +102,7 @@ grep README Makefile.in && exit 1
 : > README
 $sleep
 touch foo
+$sleep
 $AUTOMAKE --no-force
 # Even if no dependency change, the content changed.
 test `ls -1t Makefile.in foo | sed 1q` = Makefile.in
@@ -111,6 +113,7 @@ grep README Makefile.in
 : > sub/Makefile.in
 $sleep
 touch foo
+$sleep
 $ACLOCAL -I m4
 $AUTOMAKE --no-force
 # Only sub/Makefile.in should change.