X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/96553aa7ef09f5ce0bc50bd8dc3baefbb82deb8c..98c1b32565fc808ca2a428dbd1a5485e7997ad7d:/testsuite/rsync.fns diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index cf4037dd..6a06a92c 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -137,6 +137,11 @@ makepath () { # Run a test (in '$1') then compare directories $2 and $3 to see if # there are any difference. If there are, explain them. +# So normally basically $1 should be an rsync command, and $2 and $3 +# the source and destination directories. This is only good when you +# expect to transfer the whole directory exactly as is. If some files +# should be excluded, you might need to use something else. + checkit() { failed= @@ -204,6 +209,12 @@ 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 + [test-from] path = $FROM read only = yes @@ -233,6 +244,7 @@ test_fail() { test_skipped() { echo "$@" >&2 + echo "$@" > "$TMP/whyskipped" exit 77 }