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

Backwards compatibility testing (and a segfault! for you!) Re: svn commit: r35942 - trunk/subversion/tests/cmdline/svntest

From: David Glasser <glasser_at_davidglasser.net>
Date: Tue, 17 Feb 2009 14:31:58 -0800

If you now run these these against an old svnserve, they mostly
pass... 6 FAIL and one XPASS for me (FSFS, svnserve 1.5.x branch
checkout, Linux). I don't have time to track down all these issues,
but it's probably worth figuring out if these are tests that are
overly restrictive, tests of new features that shouldn't be expected
to pass, or bugs. The merge tests 122 one appears to involve an svn
crash, so that's probably a bug!

As a reminder, you can run these the same way you run normal svnserve
(or DAV) tests, except that you run a 1.5.x server instead of the
server you built, and you pass --server-minor-version=5 to the Python
test driver (or set the SERVER_MINOR_VERSION=5 env var if you're going
through the Makefiles).

Logs of the failed tests are attached.

--dave

On Tue, Feb 17, 2009 at 2:21 PM, David Glasser <glasser_at_davidglasser.net> wrote:
> Author: glasser
> Date: Tue Feb 17 14:21:05 2009
> New Revision: 35942
>
> Log:
> Support running 1.6.x tests against a 1.5.x server.
>
> * subversion/tests/cmdline/svntest/main.py
> (server_minor_version): Default value is now 6.
> (create_repos): Use --pre-1.6-compatible if appropriate.
> (run_tests): Support a value of 6.
>
> Modified:
> trunk/subversion/tests/cmdline/svntest/main.py
>
> Modified: trunk/subversion/tests/cmdline/svntest/main.py
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/tests/cmdline/svntest/main.py?pathrev=35942&r1=35941&r2=35942
> ==============================================================================
> --- trunk/subversion/tests/cmdline/svntest/main.py Tue Feb 17 13:58:19 2009 (r35941)
> +++ trunk/subversion/tests/cmdline/svntest/main.py Tue Feb 17 14:21:05 2009 (r35942)
> @@ -189,7 +189,7 @@ config_file = None
>
> # Global variable indicating what the minor version of the server
> # tested against is (4 for 1.4.x, for example).
> -server_minor_version = 5
> +server_minor_version = 6
>
> # Global variable indicating if this is a child process and no cleanup
> # of global directories is needed.
> @@ -676,6 +676,8 @@ def create_repos(path):
> opts = ("--bdb-txn-nosync",)
> if server_minor_version < 5:
> opts += ("--pre-1.5-compatible",)
> + elif server_minor_version < 6:
> + opts += ("--pre-1.6-compatible",)
> if fs_type is not None:
> opts += ("--fs-type=" + fs_type,)
> exit_code, stdout, stderr = run_command(svnadmin_binary, 1, 0, "create",
> @@ -1512,8 +1514,8 @@ def run_tests(test_list, serial_only = F
>
> elif opt == '--server-minor-version':
> server_minor_version = int(val)
> - if server_minor_version < 4 or server_minor_version > 6:
> - print("ERROR: test harness only supports server minor version 4 or 5")
> + if server_minor_version < 4 or server_minor_version > 7:
> + print("ERROR: test harness only supports server minor versions 4-6")
> sys.exit(1)
>
> elif opt == '--use-jsvn':
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=495&dsMessageId=1181466
>

-- 
glasser_at_davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1181513







Received on 2009-02-17 23:32:26 CET

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