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

Re: error in README?

From: <kfogel_at_collab.net>
Date: 2005-02-22 02:27:07 CET

Madan U Sreenivasan <madan@collab.net> writes:
> In subversion/tests/clients/cmdline,
> The README file on line no. 77 contains...
> $ ./basic_tests.py 3 --url=http://localhost
> This, the README claims executes the 3rd test case of basic_tests with
> the given URL.
> However, when I do a -v,
> ./basic_tests.py -v 3 --url=http://localhost
> [...]
> "file:///home/madan/wc/svn/trunk/subversion/tests/clients/cmdline/local_tmp/repos" "--config-[...]
> I infer that the test case no. should be the last option to the test.
> Someone pl. correct me if I'm wrong...

There is a very annoying bug in how our test framework parses
arguments options, such that the order of these things on the command
line matters. If you play around with the order of things, you should
eventually be able to find a combination that does what you expect
(though I agree you shouldn't *need* to play around like this!). You
may also need to try "BASE_URL=foo" instead of "--url=foo".

The fact that we support both the "BASE_URL=foo" syntax and the
"--url=" syntax is also an annoyance. We should pick one or the other
and stick with it, IMHO.

(Since there are no compatibility concerns with the test suite,
there's no reason we couldn't fix all this, of course. Just no one's
gotten around to it.)

Sorry for the confusion; hope this mail helps!


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 22 02:43:52 2005

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.