summaryrefslogtreecommitdiffstats
path: root/Tests/CTestUpdateCVS.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestUpdateCVS.cmake.in')
-rw-r--r--Tests/CTestUpdateCVS.cmake.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestUpdateCVS.cmake.in b/Tests/CTestUpdateCVS.cmake.in
index 91672e1..a85653b 100644
--- a/Tests/CTestUpdateCVS.cmake.in
+++ b/Tests/CTestUpdateCVS.cmake.in
@@ -102,6 +102,13 @@ run_child(
COMMAND ${CVSCMD} up -rRevision1
)
+# Delay 1 second so the modification produces a newer time stamp.
+find_program(SLEEP sleep)
+if(SLEEP)
+ message("Delaying...")
+ execute_process(COMMAND ${SLEEP} 1)
+endif()
+
# Create a modified file.
modify_content(user-source)