Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use BIGPATHBUFLEN for the length of two line buffers.
[rsync/rsync.git]
/
testsuite
/
exclude.test
diff --git
a/testsuite/exclude.test
b/testsuite/exclude.test
index
e64f950
..
9c7b038
100644
(file)
--- a/
testsuite/exclude.test
+++ b/
testsuite/exclude.test
@@
-1,6
+1,6
@@
#! /bin/sh
#! /bin/sh
-# Copyright (C) 2003 by Wayne Davison <wayned@samba.org>
+# Copyright (C) 2003
, 2004, 2005
by Wayne Davison <wayned@samba.org>
# This program is distributable under the terms of the GNU GPL see
# COPYING).
# This program is distributable under the terms of the GNU GPL see
# COPYING).
@@
-12,12
+12,12
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
-set -x
-
HOME="$scratchdir"
CVSIGNORE='*.junk'
export HOME CVSIGNORE
HOME="$scratchdir"
CVSIGNORE='*.junk'
export HOME CVSIGNORE
+set -x
+
# Build some files/dirs/links to copy
makepath "$fromdir/foo/down/to/you"
# 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
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.
# Now, try the prior command with --delete-before and some side-specific
# rules.
@@
-190,6
+190,7
@@
$RSYNC -av --del "$fromdir/" "$chkdir/"
rm "$chkdir/bar/down/to/foo/file1.bak"
rm "$chkdir/bar/down/to/foo/file3"
rm "$chkdir/bar/down/to/foo/+ file3"
rm "$chkdir/bar/down/to/foo/file1.bak"
rm "$chkdir/bar/down/to/foo/file3"
rm "$chkdir/bar/down/to/foo/+ file3"
+$RSYNC -av --existing --filter='-! */' "$fromdir/" "$chkdir/"
$RSYNC -av --delete-excluded --exclude='*' "$fromdir/" "$todir/"
checkit "$RSYNC -avv -f dir-merge,-_.excl \
$RSYNC -av --delete-excluded --exclude='*' "$fromdir/" "$todir/"
checkit "$RSYNC -avv -f dir-merge,-_.excl \