On 31. 1. 26 17:13, Daniel Sahlberg wrote:
Hi,
davautocheck.sh is the script used by make davautocheck. It configures
and starts an httpd instance for running the test suite.
dav-mirror-autocheck.sh does much the same but it lacks a Makefile
target and it doesn't manage cleanup in the same way as
davautocheck.sh. It also only run a few very specific checks for proxying.
I'm considering to merge these scripts - basically make
davautocheck.sh configure httpd with the appropriate configuration to
setup svn mirroring. The second step would be to create a new cmdline
test replicating the tests from dav-mirror-autocheck.sh.
davautocheck.sh currently doesn't require httpd to be built with
mod_proxy, so merging the scripts would create a new requirement.
However mod_proxy is not a very exotic requirement and I would be
surprised if there is a distribution where it isn't already built.
Note that davautocheck.sh already handles several variations in the
generated httpd.conf depending on the requested options, so there's no
reason to make the presence of mod_proxy a hard requirement.
But on the other hand, this is a test harness, so it doesn't constrain
downstream users (much).
Merging the scripts would have the benefit of testing svnsync within
davautocheck.
I'm looking at this to make testing the mod_dav_svn Destination header
fix[1] a little bit easier.
Cheers,
Daniel
[1] https://lists.apache.org/thread/tkq2kpkcnpswc47hqz0oryr9vk0kvzjv