diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-27 18:53:46 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-27 18:53:46 +0000 |
commit | 261d7b44fa0d5e2b318c0544f9cc1f1d8e4ac69c (patch) | |
tree | 17e4e34fcf440b8b2bd4ee22440963340ff823c3 /tests | |
parent | b581e1350fefab3c625b0f08078017d05f9578d3 (diff) | |
download | gunmake-261d7b44fa0d5e2b318c0544f9cc1f1d8e4ac69c.tar.gz |
Make sure timestamp problems don't cause the -W test to fail.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/scripts/options/dash-W | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index bc2108d..9d80d94 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -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. diff --git a/tests/scripts/options/dash-W b/tests/scripts/options/dash-W index 9a12d9a..2864711 100644 --- a/tests/scripts/options/dash-W +++ b/tests/scripts/options/dash-W @@ -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'); |