Tests that use hands_setup to make a test file directory and right
authorDavid Dykstra <dwd@samba.org>
Sun, 26 Jan 2003 03:34:19 +0000 (03:34 +0000)
committerDavid Dykstra <dwd@samba.org>
Sun, 26 Jan 2003 03:34:19 +0000 (03:34 +0000)
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

index 42b7b7e..0dab773 100644 (file)
@@ -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
 }