diff options
author | Wayne Davison <wayned@samba.org> | 2008-03-10 21:15:37 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-03-10 21:39:01 -0700 |
commit | 1ed9018e69a0d224ff59184974d9150d1cb8814d (patch) | |
tree | 92bec02975a0598b95da3e6e84d5e3cbf20391b1 /testsuite/itemize.test | |
parent | ff0e15804f3f7f730ac1c7c79bcd0f34ca39fa4c (diff) | |
download | rsync-1ed9018e69a0d224ff59184974d9150d1cb8814d.tar.gz |
Fixed some itemized logging failures:
- If a symlink/device/special-file changes its value without any
attribute changes, the itemized event no longer gets dropped.
- We put a 'c' into the checksum/change field now to indicate when
a symlink/device/special-file changes its value without changing
its type. This lets us properly interpret the --copy-links output
to know which items are getting copied without changes and which
are getting created with new content.
- Fixed the 'T' itemized output for a symlink when rsync tries to
set the right time but fails due to lack of OS/disk support.
Diffstat (limited to 'testsuite/itemize.test')
-rw-r--r-- | testsuite/itemize.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/itemize.test b/testsuite/itemize.test index 15fd6737..72780345 100644 --- a/testsuite/itemize.test +++ b/testsuite/itemize.test @@ -96,7 +96,7 @@ cat <<EOT >"$chkfile" .d..t.$dots foo/ .f..t.$dots foo/config1 >fcstp$dots foo/config2 -cL.$T.$dots foo/sym -> ../bar/baz/rsync +cLc$T.$dots foo/sym -> ../bar/baz/rsync EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed" @@ -157,8 +157,8 @@ $RSYNC -ivvplrtH --copy-dest=../to "$fromdir/" "$to2dir/" \ | tee "$outfile" filter_outfile case `tail -1 "$outfile"` in -cL..t*) - sym_dots="..t.$dots" +cLc.t*) + sym_dots="c.t.$dots" L_sym_dots="cL$sym_dots" is_uptodate='-> ../bar/baz/rsync' echo "cL$sym_dots foo/sym $is_uptodate" >"$chkfile.extra" |