subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <phi...@codematters.co.uk>
Subject Re: Reviewing 1.10 APIs & compatibility
Date Tue, 06 Feb 2018 20:38:22 GMT
Julian Foad <julianfoad@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

Mime
View raw message