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

[PATCH] run_tests.py - Restrict values to --server-minor-version.

From: Noorul Islam K M <noorul_at_collab.net>
Date: Tue, 05 Jul 2011 10:24:44 +0530

Log
[[[

* build/run_tests.py
  (main): Restrict --server-minor-version to take values in the range
    4-7.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
]]]

Thanks and Regards
Noorul

Index: build/run_tests.py
===================================================================
--- build/run_tests.py (revision 1142624)
+++ build/run_tests.py (working copy)
@@ -604,6 +604,12 @@
     logfile = os.path.abspath('tests.log')
     faillogfile = os.path.abspath('fails.log')
 
+ if server_minor_version:
+ minor_version = int(server_minor_version)
+ if minor_version < 4 or minor_version > 7:
+ sys.stderr.write("Test harness only supports server minor versions 4-7\n")
+ sys.exit(1)
+
   th = TestHarness(args[0], args[1], logfile, faillogfile,
                    base_url, fs_type, http_library, server_minor_version,
                    verbose, cleanup, enable_sasl, parallel, config_file,
Received on 2011-07-05 06:57:07 CEST

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.