Move the sleep to workaround the default modify-window of 1 on Cygwin to
[rsync/rsync.git] / testsuite / rsync.fns
index c5532b5..5e76538 100644 (file)
@@ -140,6 +140,10 @@ makepath () {
 # should be excluded, you might need to use something else.
 
 checkit() {
+    # sleep here to prevent a copy from being made within the
+    #  default --modify-window time on Cygwin
+    sleep 2
+
     failed=
 
     # We can just write everything to stdout/stderr, because the
@@ -191,11 +195,8 @@ use chroot = no
 hosts allow = localhost, 127.0.0.1
 log file = $logfile
 
-# We don't know if this machine has "nobody" or "nogroup", so use the quasi-canonical
-# values of (uint16_t) -2. 
-
-uid = 65534
-gid = 65534
+uid = 0
+gid = 0
 
 [test-from]
        path = $FROM
@@ -278,4 +279,4 @@ is_a_link() {
 # best thing is probably to explicitly chmod those directories after
 # creation.
  
-umask 022
\ No newline at end of file
+umask 022