Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b316862
)
Added a test of a simple exclude when --relative is enabled.
author
Wayne Davison
<wayned@samba.org>
Mon, 13 Mar 2006 01:57:13 +0000
(
01:57
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 13 Mar 2006 01:57:13 +0000
(
01:57
+0000)
testsuite/exclude.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/exclude.test
b/testsuite/exclude.test
index
a809115
..
9337560
100644
(file)
--- a/
testsuite/exclude.test
+++ b/
testsuite/exclude.test
@@
-203,5
+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/"
+rm -rf "$chkdir$fromdir/foo/down"
+$RSYNC -avR --existing --filter='-! */' "$fromdir/foo" "$chkdir/"
+
+checkit "$RSYNC -avvR --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.
exit 0