Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 8990] New: --append-verify doesn't spot file differences, even with --checksum

46 views
Skip to first unread message

samba...@samba.org

unread,
Jun 8, 2012, 5:25:26 AM6/8/12
to
https://bugzilla.samba.org/show_bug.cgi?id=8990

Summary: --append-verify doesn't spot file differences, even
with --checksum
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: way...@samba.org
ReportedBy: samba-b...@ookypooky.com
QAContact: rsyn...@samba.org


Example:

$ echo "hello" > test1.txt

$ echo "world" > test2.txt

$ rsync --append test1.txt test2.txt

$ diff test1.txt test2.txt
--- test1.txt 2012-06-08 10:23:31.059215000 +0100
+++ test2.txt 2012-06-08 10:23:36.891225000 +0100
@@ -1 +1 @@
-hello
+world

$ rsync --append-verify test1.txt test2.txt

$ diff test1.txt test2.txt
--- test1.txt 2012-06-08 10:23:31.059215000 +0100
+++ test2.txt 2012-06-08 10:23:36.891225000 +0100
@@ -1 +1 @@
-hello
+world

$ rsync --append-verify --checksum test1.txt test2.txt

$ diff test1.txt test2.txt
--- test1.txt 2012-06-08 10:23:31.059215000 +0100
+++ test2.txt 2012-06-08 10:23:36.891225000 +0100
@@ -1 +1 @@
-hello
+world

$ rsync --append-verify --checksum --ignore-times test1.txt test2.txt

$ diff test1.txt test2.txt
--- test1.txt 2012-06-08 10:23:31.059215000 +0100
+++ test2.txt 2012-06-08 10:23:36.891225000 +0100
@@ -1 +1 @@
-hello
+world

Bug confirmed in rsync-3.0.6 and 3.0.9. This syncs correctly with rsync-2.6.9
(using only --append).

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

0 new messages