mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-06 11:35:08 +00:00
Make sure timestamp problems don't cause the -W test to fail.
This commit is contained in:
parent
b581e1350f
commit
261d7b44fa
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2005-06-26 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
* scripts/functions/shell: New test suite for the shell function.
|
* scripts/functions/shell: New test suite for the shell function.
|
||||||
|
|
|
@ -50,6 +50,9 @@ touch baz.x');
|
||||||
|
|
||||||
# Now run with -W bar.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");
|
run_make_test(undef, '-W bar.x', "restarts=\ntouch foo.x\nrestarts=1\ntouch baz.x");
|
||||||
|
|
||||||
rmfiles('foo.x', 'bar.x');
|
rmfiles('foo.x', 'bar.x');
|
||||||
|
|
Loading…
Reference in a new issue