Checkout
Branko ─îibej
committed
on 14 Aug 02
Fix for issue #868.

* Makefile.in (check): If $(BASE_URL) is defined, pass it to
run_tests.py so that DAV tests can be run with
"make ch… Show more
Fix for issue #868.

* Makefile.in (check): If $(BASE_URL) is defined, pass it to

run_tests.py so that DAV tests can be run with

  "make check BASE_URL=http://localhost".

* win-tests.py: Accept an optional URL parameter and, if present,

pass it to the test harness so that DAV tests can be run with

   "python win-tests.py r http://localhost".

(client_tests): Add module_tests.py.

* subversion/mod_dav_svn/repos.c: Include apr_want.h for string functions.

(dav_svn_get_resource): [SVNParentPath handler]

- Return a 403 error if a repository name isn't present in the URL.

- Fix the parser: If the repository name is the only component and

  doesn't end in a slash, set true_relative_path to '/' instead of

  running off the end of the string.

* subversion/tests/clients/cmdline/README: Update the instructions for

running DAV tests.

* subversion/tests/clients/cmdline/svntest/actions.py

(guarantee_greek_repository): Don't symlink or copy to current-repo.

(make_repo_and_wc): Call main.set_repos_paths, and use

main.current_repo_url to check out the working copy.

* subversion/tests/clients/cmdline/svntest/main.py (current_repo_dir):

Initialize to None and update docstring.

(set_repos_paths): New; set current_repo_dir and current_repo_url.

(run_one_test): Reset current_repo_dir and current_repo_url to None.

Scratch an itch: Exit immediately upon receiveing a ^C.

(run_tests): Don't set current_repo_url, set_repos_paths does that now.

* build/run_tests.py (TestHarness.__init__): New parameter 'base_url'.

(TestHarness._run_test): If self.base_url is defined, send an --url

flag to each Python test program.

(main): Handle --url flag, update usage text and docstring.

Show less