Tests that use hands_setup to make a test file directory and right
[rsync/rsync.git] / testsuite / rsync.fns
index 1d748ae..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
 }
 
 
@@ -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
@@ -253,6 +254,8 @@ do
        fi
    done
 done
+# ok, now get rid of it
+rm "$scratchdir/testlink"
 
 
 if [ "x$TEST_SYMLINK_CMD" = 'x' ]
@@ -276,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