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

samba-bugs at samba.org samba-bugs at samba.org
Fri Jun 8 03:25:26 MDT 2012


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: wayned at samba.org
        ReportedBy: samba-bugzilla at ookypooky.com
         QAContact: rsync-qa at 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.


More information about the rsync mailing list