From 7508b795bf32de44aa550500d56b3935df5c33a7 Mon Sep 17 00:00:00 2001 From: David Dykstra Date: Sun, 26 Jan 2003 03:34:19 +0000 Subject: [PATCH] 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. --- testsuite/rsync.fns | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.34.1