diff options
Diffstat (limited to 'tests/scripts/options/dash-W')
-rw-r--r-- | tests/scripts/options/dash-W | 3 |
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'); |