From: Wayne Davison Date: Fri, 10 Nov 2006 05:07:05 +0000 (+0000) Subject: Changed to reflect new (more correct) output of what updating is X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c202424a03cbf45195b5c6e9877c17a441911eda Changed to reflect new (more correct) output of what updating is happening. --- diff --git a/testsuite/itemize.test b/testsuite/itemize.test index 1614fb94..9620a020 100644 --- a/testsuite/itemize.test +++ b/testsuite/itemize.test @@ -135,15 +135,15 @@ $RSYNC -ivvplrtH --copy-dest=../ld "$fromdir/" "$todir/" \ | tee "$outfile" filter_outfile cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ +cd ./ +cd bar/ +cd bar/baz/ cf bar/baz/rsync -cd+++++++ foo/ +cd foo/ cf foo/config1 cf foo/config2 hf foo/extra => foo/config1 -cL..T.... foo/sym -> ../bar/baz/rsync +cL foo/sym -> ../bar/baz/rsync EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 8 failed" @@ -151,10 +151,6 @@ rm -rf "$todir" $RSYNC -iplrtH --copy-dest=../ld "$fromdir/" "$todir/" \ | tee "$outfile" cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ -cd+++++++ foo/ hf foo/extra => foo/config1 EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 9 failed" @@ -164,11 +160,11 @@ $RSYNC -vvplrtH --copy-dest="$lddir" "$fromdir/" "$todir/" \ | tee "$outfile" filter_outfile cat <"$chkfile" -./ -bar/ -bar/baz/ +./ is uptodate +bar/ is uptodate +bar/baz/ is uptodate bar/baz/rsync is uptodate -foo/ +foo/ is uptodate foo/config1 is uptodate foo/config2 is uptodate "foo/extra" is a hard link @@ -182,11 +178,11 @@ $RSYNC -ivvplrtH --link-dest="$lddir" "$fromdir/" "$todir/" \ | tee "$outfile" filter_outfile cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ +cd ./ +cd bar/ +cd bar/baz/ hf bar/baz/rsync -cd+++++++ foo/ +cd foo/ hf foo/config1 hf foo/config2 hf foo/extra => foo/config1 @@ -198,10 +194,6 @@ rm -rf "$todir" $RSYNC -iplrtH --dry-run --link-dest=../ld "$fromdir/" "$todir/" \ | tee "$outfile" cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ -cd+++++++ foo/ EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 12 failed" @@ -209,10 +201,6 @@ rm -rf "$todir" $RSYNC -iplrtH --link-dest=../ld "$fromdir/" "$todir/" \ | tee "$outfile" cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ -cd+++++++ foo/ EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 13 failed" @@ -221,11 +209,11 @@ $RSYNC -vvplrtH --link-dest="$lddir" "$fromdir/" "$todir/" \ | tee "$outfile" filter_outfile cat <"$chkfile" -./ -bar/ -bar/baz/ +./ is uptodate +bar/ is uptodate +bar/baz/ is uptodate bar/baz/rsync is uptodate -foo/ +foo/ is uptodate foo/config1 is uptodate foo/config2 is uptodate "foo/extra" is a hard link @@ -240,11 +228,11 @@ 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 <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ +cd ./ +cd bar/ +cd bar/baz/ .f bar/baz/rsync -cd+++++++ foo/ +cd foo/ .f foo/config1 .f foo/config2 .L foo/sym -> ../bar/baz/rsync @@ -255,10 +243,6 @@ rm -rf "$todir" $RSYNC -iplrtH --compare-dest="$lddir" "$fromdir/" "$todir/" \ | tee "$outfile" cat <"$chkfile" -cd+++++++ ./ -cd+++++++ bar/ -cd+++++++ bar/baz/ -cd+++++++ foo/ EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 16 failed" @@ -267,11 +251,11 @@ $RSYNC -vvplrtH --compare-dest="$lddir" "$fromdir/" "$todir/" \ | tee "$outfile" filter_outfile cat <"$chkfile" -./ -bar/ -bar/baz/ +./ is uptodate +bar/ is uptodate +bar/baz/ is uptodate bar/baz/rsync is uptodate -foo/ +foo/ is uptodate foo/config1 is uptodate foo/config2 is uptodate "foo/extra" is a hard link