]> git.ipfire.org Git - thirdparty/rsync.git/commit
testsuite: output, comparison and algorithm-selection option coverage
authorAndrew Tridgell <andrew@tridgell.net>
Sat, 23 May 2026 22:01:52 +0000 (08:01 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Sun, 24 May 2026 02:31:52 +0000 (12:31 +1000)
commite57c7f5d877904608454dbb61a302ceb977b1571
tree77792fe133daef705238b9d935923abb9c966fa6
parent05f30c05c9361e89987355773992b9eaf31f07e6
testsuite: output, comparison and algorithm-selection option coverage

Breadth pass for options not yet exercised:

  output-options    output shape of --version/--help/-i/-n/--stats/
                    --out-format/--list-only/-q/--progress/-h/-8 (these control
                    output, not path handling, so they're checked for shape).
  compare           -c and -I catch a stealth change (same size+mtime, new
                    content) deep in the tree; --size-only skips a same-size
                    change; --modify-window absorbs a 1s mtime difference.
  compress-options  --compress-choice for every advertised compressor,
                    --compress-level, --skip-compress, --checksum-choice for
                    every advertised checksum, and --checksum-seed -- each a
                    clean byte-identical transfer at depth.

Green on master and under --protocol=29/30.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
testsuite/compare_test.py [new file with mode: 0644]
testsuite/compress-options_test.py [new file with mode: 0644]
testsuite/output-options_test.py [new file with mode: 0644]