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

Re: svn commit: rev 5577 - in trunk/subversion: libsvn_client tests/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-04-07 22:36:24 CEST

philip@tigris.org writes:

> Log:
> Fix a crash caused by 'svn rm URL' closing an invalid access baton.
[...]
> Modified: trunk/subversion/tests/clients/cmdline/basic_tests.py
> ==============================================================================
> --- trunk/subversion/tests/clients/cmdline/basic_tests.py (original)
> +++ trunk/subversion/tests/clients/cmdline/basic_tests.py Mon Apr 7 15:07:24 2003
> @@ -1017,6 +1017,16 @@
> svntest.actions.run_and_verify_svn(None, None, [],
> 'rm', '--force', foo_path)
>
> + # At one stage deleting an URL dumped core
> + iota_URL = svntest.main.current_repo_url + '/iota'
> +
> + svntest.actions.run_and_verify_svn(None,
> + ["\n", "Committed revision 2.\n"], None,
> + 'rm', '-m', 'delete iota URL',
> + '--username', svntest.main.wc_author,
> + '--password', svntest.main.wc_passwd,
> + iota_URL)

Strictly speaking all I wanted to test was that the client didn't
crash, but I had to explicitly check the output because the
run_and_verify_svn function didn't raise an error when svn dumped
core. Is run_and_verify_svn supposed to ignore a client that crashes?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 7 22:37:20 2003

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.