Daniel Shahaf <d...@daniel.shahaf.name> writes: > SERVER_MINOR_VERSION is for testing a 1.7 client with a 1.6 server. > > I'm after testing a 1.7 client with a 1.7 server using a 1.6 filesystme.
As discussed on IRC, SERVER_MINOR_VERSION should already cause a 1.6 filesystem to be used. However there is a bug somewhere in the option handling that causes options.server_minor_version to be of type string so the comparisons against integer values don't work. The problem occurs if I run: make check SERVER_MINOR_VERSION=6 but if I run ./basic_checks.py --server-minor-version 6 the problem is not present. I can fix the problem using the patch below, but I don't understand why it is necessary, and I don't know if other parameters are affected. Index: subversion/tests/cmdline/svntest/main.py =================================================================== --- subversion/tests/cmdline/svntest/main.py (revision 1139223) +++ subversion/tests/cmdline/svntest/main.py (working copy) @@ -1614,6 +1614,8 @@ else: parser = _create_parser() + options.server_minor_version = int(options.server_minor_version) + # parse the positional arguments (test nums, names) for arg in test_selection: appended = False -- Philip