Skip to content

Refactor branding tests into dedicated module - #1365

Merged
oferchen merged 2 commits into
masterfrom
prepare-for-production-release-optimization
Oct 28, 2025
Merged

oferchen merged 2 commits into
masterfrom
prepare-for-production-release-optimization

Conversation

@oferchen

@oferchen oferchen commented Oct 28, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • move the branding module test suite into a dedicated branding/tests.rs module to honor the hygiene line cap

Testing

  • cargo test -p rsync-core branding::

@oferchen
oferchen merged commit 5616eef into master Oct 28, 2025
@oferchen
oferchen deleted the prepare-for-production-release-optimization branch October 28, 2025 13:16
oferchen added a commit that referenced this pull request May 17, 2026
#4277)

Adds a second filter differential fuzz target, `filter_rules_vs_upstream`,
that probes upstream rsync through `--list-only` and exercises the
rule-list-clear directive (`!`) that the existing `filter_differential`
harness omits. Comparison surface stays the same: build oc-rsync's
`FilterSet` from the rule text, run upstream with the same `--filter=...`
chain against a synthetic tree, and panic on a verdict mismatch so
libFuzzer minimises the reproducer.

Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the
target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no
divergence is found, 1 on a finding, and skips cleanly when nightly,
cargo-fuzz, or an upstream rsync binary is unavailable.

Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
oferchen added a commit that referenced this pull request May 18, 2026
#4277)

Adds a second filter differential fuzz target, `filter_rules_vs_upstream`,
that probes upstream rsync through `--list-only` and exercises the
rule-list-clear directive (`!`) that the existing `filter_differential`
harness omits. Comparison surface stays the same: build oc-rsync's
`FilterSet` from the rule text, run upstream with the same `--filter=...`
chain against a synthetic tree, and panic on a verdict mismatch so
libFuzzer minimises the reproducer.

Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the
target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no
divergence is found, 1 on a finding, and skips cleanly when nightly,
cargo-fuzz, or an upstream rsync binary is unavailable.

Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
oferchen added a commit that referenced this pull request May 18, 2026
#4277)

Adds a second filter differential fuzz target, `filter_rules_vs_upstream`,
that probes upstream rsync through `--list-only` and exercises the
rule-list-clear directive (`!`) that the existing `filter_differential`
harness omits. Comparison surface stays the same: build oc-rsync's
`FilterSet` from the rule text, run upstream with the same `--filter=...`
chain against a synthetic tree, and panic on a verdict mismatch so
libFuzzer minimises the reproducer.

Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the
target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no
divergence is found, 1 on a finding, and skips cleanly when nightly,
cargo-fuzz, or an upstream rsync binary is unavailable.

Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
oferchen added a commit that referenced this pull request Aug 24, 2026
#4277)

Adds a second filter differential fuzz target, `filter_rules_vs_upstream`,
that probes upstream rsync through `--list-only` and exercises the
rule-list-clear directive (`!`) that the existing `filter_differential`
harness omits. Comparison surface stays the same: build oc-rsync's
`FilterSet` from the rule text, run upstream with the same `--filter=...`
chain against a synthetic tree, and panic on a verdict mismatch so
libFuzzer minimises the reproducer.

Also adds `tools/ci/run_filter_differential_fuzz.sh` that drives the
target for `${FUZZ_DURATION:-300}` seconds and exits 0 when no
divergence is found, 1 on a finding, and skips cleanly when nightly,
cargo-fuzz, or an upstream rsync binary is unavailable.

Linux/macOS only; cargo-fuzz lacks sanitizer support on other targets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant