summaryrefslogtreecommitdiff
path: root/tests/scripts/features/reinvoke
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/features/reinvoke')
-rw-r--r--tests/scripts/features/reinvoke5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/scripts/features/reinvoke b/tests/scripts/features/reinvoke
index dacfd33..3e9ae66 100644
--- a/tests/scripts/features/reinvoke
+++ b/tests/scripts/features/reinvoke
@@ -18,6 +18,7 @@ all: ; \@echo 'running rules.'
$makefile $makefile2: $makefile_orig
\@echo 'rebuilding \$\@.'
+ \@sleep $wtime
\@echo >> \$\@
include $makefile2
@@ -30,7 +31,7 @@ close(MAKEFILE);
# Sleep 2 seconds for DOS/Windows FAT volumes which have 2-second
# granularity of file times.
-sleep(2);
+sleep($wtime);
&touch("$makefile_orig");
@@ -67,7 +68,7 @@ close(MAKEFILE);
&touch('b');
&touch('a');
-sleep(2);
+sleep($wtime);
&touch('c');
# First try with the file that's not updated "once removed" from the