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:
1ef5bf3
)
Handle the itemizing of of the "." dir when it is newly created.
author
Wayne Davison
<wayned@samba.org>
Wed, 11 Oct 2006 00:04:48 +0000
(
00:04
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 11 Oct 2006 00:04:48 +0000
(
00:04
+0000)
testsuite/itemize.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/itemize.test
b/testsuite/itemize.test
index
ca369ee
..
c05129f
100644
(file)
--- a/
testsuite/itemize.test
+++ b/
testsuite/itemize.test
@@
-29,6
+29,7
@@
ln "$fromdir/foo/config1" "$fromdir/foo/extra"
$RSYNC -iplr "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
$RSYNC -iplr "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
+cd+++++++ ./
cd+++++++ bar/
cd+++++++ bar/baz/
>f+++++++ bar/baz/rsync
cd+++++++ bar/
cd+++++++ bar/baz/
>f+++++++ bar/baz/rsync
@@
-134,7
+135,7
@@
$RSYNC -ivvplrtH --copy-dest=../ld "$fromdir/" "$todir/" \
| tee "$outfile"
filter_outfile
cat <<EOT >"$chkfile"
| tee "$outfile"
filter_outfile
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
cf bar/baz/rsync
cd+++++++ bar/
cd+++++++ bar/baz/
cf bar/baz/rsync
@@
-150,7
+151,7
@@
rm -rf "$todir"
$RSYNC -iplrtH --copy-dest=../ld "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
$RSYNC -iplrtH --copy-dest=../ld "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/
@@
-181,7
+182,7
@@
$RSYNC -ivvplrtH --link-dest="$lddir" "$fromdir/" "$todir/" \
| tee "$outfile"
filter_outfile
cat <<EOT >"$chkfile"
| tee "$outfile"
filter_outfile
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
hf bar/baz/rsync
cd+++++++ bar/
cd+++++++ bar/baz/
hf bar/baz/rsync
@@
-208,7
+209,7
@@
rm -rf "$todir"
$RSYNC -iplrtH --link-dest=../ld "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
$RSYNC -iplrtH --link-dest=../ld "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/
@@
-239,7
+240,7
@@
filter_outfile
# TODO fix really-old problem when combining -H with --compare-dest:
# missing output for foo/extra hard-link (and it might not be updated)!
cat <<EOT >"$chkfile"
# TODO fix really-old problem when combining -H with --compare-dest:
# missing output for foo/extra hard-link (and it might not be updated)!
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
.f bar/baz/rsync
cd+++++++ bar/
cd+++++++ bar/baz/
.f bar/baz/rsync
@@
-254,7
+255,7
@@
rm -rf "$todir"
$RSYNC -iplrtH --compare-dest="$lddir" "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
$RSYNC -iplrtH --compare-dest="$lddir" "$fromdir/" "$todir/" \
| tee "$outfile"
cat <<EOT >"$chkfile"
-
.d..t....
./
+
cd+++++++
./
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/