summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-10-11 00:04:48 +0000
committerWayne Davison <wayned@samba.org>2006-10-11 00:04:48 +0000
commit418b6a270377f3cade34eb93498cab557e08e090 (patch)
tree1edd6a4b6601bc687cbc7f4f11c6595dc90ee34f /testsuite
parent1ef5bf3cfdcbad427ff201d476cd49c472ce58b7 (diff)
downloadrsync-418b6a270377f3cade34eb93498cab557e08e090.tar.gz
Handle the itemizing of of the "." dir when it is newly created.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/itemize.test13
1 files changed, 7 insertions, 6 deletions
diff --git a/testsuite/itemize.test b/testsuite/itemize.test
index ca369eeb..c05129f2 100644
--- 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"
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
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"
-.d..t.... ./
+cd+++++++ ./
cd+++++++ bar/
cd+++++++ bar/baz/
cd+++++++ foo/