[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Reviewing 1.10 APIs & compatibility

From: Philip Martin <philip_at_codematters.co.uk>
Date: Tue, 06 Feb 2018 20:38:22 +0000

Julian Foad <julianfoad_at_apache.org> writes:

> Philip Martin wrote:
>> First I ran the 1.9 testsuite against 1.10 servers
>> over http:// and svn://. [...]
>
> Philip, please can you tell me how you did this?

For http://
-----------

In the 1.9 build directory first run 1.9 davautocheck.sh:

  APACHE_MPM=event .../subversion/tests/cmdline/davautocheck.sh --no-tests

which creates an apache configuration in:

  subversion/tests/cmdline/httpd-2018-xxxxxx/

and starts a server. Kill the server either with ps/kill or:

  /usr/sbin/apache2 -f `pwd`/subversion/tests/cmdline/httpd-2018*/cfg -k stop

Now edit the apache configuration file:

  vi subversion/tests/cmdline/httpd-2018-xxxxxxx/cfg

and change the paths for the mod_dav_svn, mod_authz_svn and
mod_dontdothat modules to refer to your 1.10 build. Start the server:

  /usr/sbin/apache2 -f `pwd`/subversion/tests/cmdline/httpd-2018*/cfg -k start

and run the 1.9 tests:

  make check CLEANUP=1 PARALLEL=1 BASE_URL=http://localhost:3691

To verify that apache is really using the 1.10 libraries use ps to get
the ID of one of the apache processes and then run:

   grep libsvn /proc/NNN/maps

For svn://
----------

In the 1.10 build directory run:

  subversion/svnserve/svnserve -Tdr .../1.9-build/subversion/tests/cmdline

then in the 1.9 build directory run:

  make check CLEANUP=1 PARALLEL=1 BASE_URL=svn://localhost

Running the 1.10 tests against a 1.9 apache/svnserve is much the same
except that you need to specify SERVER_MINOR_VERSION when invoking make
check.

-- 
Philip
Received on 2018-02-06 21:38:27 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.