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
Got rid of an incorrect comment.
[rsync/rsync.git]
/
testsuite
/
delete.test
diff --git
a/testsuite/delete.test
b/testsuite/delete.test
index
00e3614
..
d57395c
100644
(file)
--- a/
testsuite/delete.test
+++ b/
testsuite/delete.test
@@
-12,13
+12,20
@@
hands_setup
makepath "$chkdir"
hands_setup
makepath "$chkdir"
+makepath "$todir/extradir"
+makepath "$todir/emptydir/subdir"
+
+echo extra >"$todir"/remove1
+echo extra >"$todir"/remove2
+echo extra >"$todir"/extradir/remove3
+echo extra >"$todir"/emptydir/subdir/remove4
# Create two chk dirs, one with a copy of the source files, and one with
# Create two chk dirs, one with a copy of the source files, and one with
-# what we expect to be left behind by the copy using --remove-s
ent
-files.
+# what we expect to be left behind by the copy using --remove-s
ource
-files.
$RSYNC -av "$fromdir/" "$chkdir/copy/"
$RSYNC -av -f 'exclude,! */' "$fromdir/" "$chkdir/empty/"
$RSYNC -av "$fromdir/" "$chkdir/copy/"
$RSYNC -av -f 'exclude,! */' "$fromdir/" "$chkdir/empty/"
-checkit "$RSYNC -avv --
remove-sent
-files \
+checkit "$RSYNC -avv --
del --remove-source
-files \
\"$fromdir/\" \"$todir/\"" "$chkdir/copy" "$todir"
diff -r "$chkdir/empty" "$fromdir"
\"$fromdir/\" \"$todir/\"" "$chkdir/copy" "$todir"
diff -r "$chkdir/empty" "$fromdir"