Skip to content

Add tests for RA backends - #269

Merged
jelmer merged 4 commits into
mainfrom
issue-19-ra-backends
Aug 30, 2026
Merged

Add tests for RA backends#269
jelmer merged 4 commits into
mainfrom
issue-19-ra-backends

Conversation

@jelmer

@jelmer jelmer commented Aug 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

jelmer added 3 commits August 30, 2026 15:38
The ra tests only reached Subversion over file://, so bugs specific to
the backends that talk to a server went unnoticed. Add a separate
integration suite that re-runs those tests against svn:// and http://,
spawning svnserve and Apache with mod_dav_svn per test and skipping when
neither is installed.

Run it with "make check-integration"; "make check" stays on file:// only.

Two get_file_revs tests are skipped over http://: ra_serf passes the
delta handler from svn_file_rev_handler_t straight to
svn_txdelta_parse_svndiff() without checking for NULL, which segfaults.
svn_delta.h documents NULL/NULL as allowed and ra_local and ra_svn both
check for it.

Fixes #19
@jelmer
jelmer enabled auto-merge August 30, 2026 14:39
@jelmer
jelmer disabled auto-merge August 30, 2026 17:29
@jelmer
jelmer merged commit f1400b5 into main Aug 30, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant