From: David Dykstra Date: Sun, 26 Jan 2003 03:34:19 +0000 (+0000) Subject: Tests that use hands_setup to make a test file directory and right X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/7508b795bf32de44aa550500d56b3935df5c33a7 Tests that use hands_setup to make a test file directory and right afterward make a copy were failing on cygwin because the default --modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of hands_setup so that hopefully the tests will succeed because the copy will be made more than 1 second away from the original. --- diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index 42b7b7ef..0dab7733 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -99,6 +99,10 @@ hands_setup() { # echo testing head: # ls -lR ${srcdir} | head -10 || echo failed + + # sleep here to prevent a copy from being made within the + # default --modify-window time on Cygwin + sleep 2 }