X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9a338344dafdb9342204125c615a7742b859c74d..2cfe44eee452a2007c17a1864d7d8f9e8257289e:/testsuite/exclude.test diff --git a/testsuite/exclude.test b/testsuite/exclude.test index cd462dd3..9c7b038a 100644 --- a/testsuite/exclude.test +++ b/testsuite/exclude.test @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2003 by Wayne Davison +# Copyright (C) 2003, 2004, 2005 by Wayne Davison # This program is distributable under the terms of the GNU GPL see # COPYING). @@ -12,12 +12,12 @@ . "$suitedir/rsync.fns" -set -x - HOME="$scratchdir" CVSIGNORE='*.junk' export HOME CVSIGNORE +set -x + # Build some files/dirs/links to copy makepath "$fromdir/foo/down/to/you" @@ -168,7 +168,7 @@ rm "$chkdir"/bar/down/to/foo/.filt2 rm "$chkdir"/bar/down/to/bar/.filt2 rm "$chkdir"/mid/.filt -$RSYNC -av --existing --filter='-! */' "$fromdir/" "$chkdir/" +$RSYNC -av --protocol=28 --existing --include='*/' --exclude='*' "$fromdir/" "$chkdir/" # Now, try the prior command with --delete-before and some side-specific # rules.