]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Make sure timestamp problems don't cause the -W test to fail.
authorPaul Smith <psmith@gnu.org>
Mon, 27 Jun 2005 18:53:46 +0000 (18:53 +0000)
committerPaul Smith <psmith@gnu.org>
Mon, 27 Jun 2005 18:53:46 +0000 (18:53 +0000)
tests/ChangeLog
tests/scripts/options/dash-W

index bc2108d0e9219a4a7da76a664f65f83da739fa89..9d80d9438b2a7cae0a1735e4f5105084d1232f49 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-27  Paul D. Smith  <psmith@gnu.org>
+
+       * scripts/options/dash-W: Set the timestamp to foo.x in the future,
+       to be sure it will be considered updated when it's remade.
+
 2005-06-26  Paul D. Smith  <psmith@gnu.org>
 
        * scripts/functions/shell: New test suite for the shell function.
index 9a12d9a27ce462528b3fe6bc9b1cc75bb0e2c348..2864711f4fd953438d601de6c28bafeabfe0a18b 100644 (file)
@@ -50,6 +50,9 @@ touch baz.x');
 
 # Now run with -W bar.x
 
+# Tweak foo.x's timestamp so the update will change it.
+utouch(1000, 'foo.x');
+
 run_make_test(undef, '-W bar.x', "restarts=\ntouch foo.x\nrestarts=1\ntouch baz.x");
 
 rmfiles('foo.x', 'bar.x');