X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/34db05b4215009a1b9864df13ea3b62a6b9c5527..7f6537557d24a20698300651cca5e1c75efc5746:/testsuite/rsync.fns diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index cdc545a7..0dab7733 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -24,13 +24,6 @@ TO=${TMP}/to LOG=${TMP}/log RSYNC="$rsync_bin" -# UID & GID to run rsyncd as if testsuite is running as root -# -# We don't know if this machine has "nobody" or "nogroup", so use the -# quasi-canonical values of (uint16_t) -2. -RSYNCD_UID=65534 -RSYNCD_GID=65534 - # Berkley's nice. PATH="$PATH:/usr/ucb" @@ -106,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 } @@ -198,8 +195,8 @@ use chroot = no hosts allow = localhost, 127.0.0.1 log file = $logfile -uid = $RSYNCD_UID -gid = $RSYNCD_GID +uid = 0 +gid = 0 [test-from] path = $FROM