X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/50cf25672e3decdff6799c0ac59784c7a6cd82ad..d051056f921f465c487a85f9fa29a2324332bc4b:/testsuite/exclude.test diff --git a/testsuite/exclude.test b/testsuite/exclude.test index 9337560a..e412d306 100644 --- a/testsuite/exclude.test +++ b/testsuite/exclude.test @@ -203,11 +203,12 @@ $RSYNC -av --delete-excluded --exclude='*' "$fromdir/" "$todir/" checkit "$RSYNC -avv -f dir-merge,-_.excl \ \"$fromdir/\" \"$todir/\"" "$chkdir" "$todir" -$RSYNC -avR "$fromdir/foo" "$chkdir/" +relative_opts='--relative --chmod=Du+w --copy-unsafe-links' +$RSYNC -av $relative_opts "$fromdir/foo" "$chkdir/" rm -rf "$chkdir$fromdir/foo/down" -$RSYNC -avR --existing --filter='-! */' "$fromdir/foo" "$chkdir/" +$RSYNC -av $relative_opts --existing --filter='-! */' "$fromdir/foo" "$chkdir/" -checkit "$RSYNC -avvR --exclude=\"$fromdir/foo/down\" \ +checkit "$RSYNC -avv $relative_opts --exclude=\"$fromdir/foo/down\" \ \"$fromdir/foo\" \"$todir\"" "$chkdir$fromdir/foo" "$todir$fromdir/foo" # The script would have aborted on error, so getting here means we've won.