From 261d7b44fa0d5e2b318c0544f9cc1f1d8e4ac69c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 27 Jun 2005 18:53:46 +0000 Subject: Make sure timestamp problems don't cause the -W test to fail. --- tests/scripts/options/dash-W | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/scripts') 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'); -- cgit v1.2.3