summaryrefslogtreecommitdiff
path: root/tests/scripts/options
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-06-27 18:53:46 +0000
committerPaul Smith <psmith@gnu.org>2005-06-27 18:53:46 +0000
commit261d7b44fa0d5e2b318c0544f9cc1f1d8e4ac69c (patch)
tree17e4e34fcf440b8b2bd4ee22440963340ff823c3 /tests/scripts/options
parentb581e1350fefab3c625b0f08078017d05f9578d3 (diff)
downloadgunmake-261d7b44fa0d5e2b318c0544f9cc1f1d8e4ac69c.tar.gz
Make sure timestamp problems don't cause the -W test to fail.
Diffstat (limited to 'tests/scripts/options')
-rw-r--r--tests/scripts/options/dash-W3
1 files changed, 3 insertions, 0 deletions
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');