X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4274208833454bba0c5b88da919613eef8c58600..05118158f4f59a5f512e5bab640f253332a6e181:/testsuite/daemon-gzip-download.test diff --git a/testsuite/daemon-gzip-download.test b/testsuite/daemon-gzip-download.test index 31a94f59..e1aae0d3 100644 --- a/testsuite/daemon-gzip-download.test +++ b/testsuite/daemon-gzip-download.test @@ -27,12 +27,7 @@ RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon" export RSYNC_CONNECT_PROG hands_setup +checkit "$RSYNC -avvvvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO" -# If we are root, we must allow the rsyncd process (which runs under -# a different uid/gid) to write to the destination directory. Source -# directory must be chown'ed as well so that UIDs & GIDs match when -# the source & destination are compared after copying. -chown -R $RSYNCD_UID:$RSYNCD_GID "$FROM" "$TO" 2>/dev/null || true - -checkit "$RSYNC -avvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO" - +# The script would have aborted on error, so getting here means we've won. +exit 0