diff -prud automake-1.10.1/tests/defs.in automake-1.10.1.mod/tests/defs.in --- automake-1.10.1/tests/defs.in Mon Jan 21 23:11:41 2008 +++ automake-1.10.1.mod/tests/defs.in Thu Apr 3 10:37:02 2008 @@ -328,11 +328,11 @@ sleep='sleep @MODIFICATION_DELAY@' testsrcdir=$srcdir unset srcdir -# An old timestamp that can be given to a file, in "touch -t" format. +# An old timestamp that can be given to a file, in "touch -d" format. # The time stamp should be portable to all file systems of interest. # Just for fun, choose the exact time of the announcement of the GNU project # in UTC; see . -old_timestamp=198309271735.59 +old_timestamp="27 Sep 1983 17:35:59 UTC" # is_newest FILE FILES # -------------------- diff -prud automake-1.10.1/tests/instsh2.test automake-1.10.1.mod/tests/instsh2.test --- automake-1.10.1/tests/instsh2.test Mon Jan 21 23:11:41 2008 +++ automake-1.10.1.mod/tests/instsh2.test Thu Apr 3 10:28:59 2008 @@ -84,7 +84,7 @@ test -f d3/y # Do not change the timestamps when using -C. echo foo >file ./install-sh -C file d1 -TZ=UTC0 touch -t $old_timestamp d1/file +touch -d "$old_timestamp" d1/file ./install-sh -C file d1 is_newest file d1/file echo foo1 >file