X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a57dfe710d72e6fa755c6ec37098bf6d3d5c1eac..01d124d9e251317cdd9f12fb170a94e65f3c5e18:/testsuite/daemon-gzip-upload.test diff --git a/testsuite/daemon-gzip-upload.test b/testsuite/daemon-gzip-upload.test index 4a5c8778..1b327b44 100644 --- a/testsuite/daemon-gzip-upload.test +++ b/testsuite/daemon-gzip-upload.test @@ -21,4 +21,15 @@ RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon" export RSYNC_CONNECT_PROG hands_setup -checkit "$RSYNC -avvvvz \"$FROM/\" localhost::test-to/" "$FROM" "$TO" + +umask 0 +ln -s ../to/nolf "$fromdir/to-nolf-symlink" +umask 022 + +# Build chkdir with a normal rsync and an --exclude. +$RSYNC -av --exclude=foobar.baz "$fromdir/" "$chkdir/" + +checkit "$RSYNC -avvvvz \"$fromdir/\" localhost::test-scratch/to/" "$chkdir" "$todir" + +# The script would have aborted on error, so getting here means we've won. +exit 0