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

Re: [patch]Issue #601 tighter regression tests

From: <kfogel_at_collab.net>
Date: 2005-02-18 16:04:39 CET

Thanks! Applied in r13055.

-Karl

Madan U Sreenivasan <madan@collab.net> writes:
> Fix issue #601: Make regression testing more rigorous
> * subversion/tests/clients/cmdline/trans_tests.py
> (propset_revert_noerror): Added status check after propset and
> revert
>
>
> Index: subversion/tests/clients/cmdline/trans_tests.py
> ===================================================================
> --- subversion/tests/clients/cmdline/trans_tests.py (revision 13051)
> +++ subversion/tests/clients/cmdline/trans_tests.py (working copy)
> @@ -700,14 +700,25 @@
> wc_dir = sbox.wc_dir
> mu_path = os.path.join(wc_dir, 'A', 'mu')
>
> + expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
> + expected_status.tweak('A/mu', status=' M')
> +
> # Set the Rev keyword for the mu file
> # could use the keywords_on()/keywords_off() functions to
> # set/del all svn:keywords
> svntest.actions.run_and_verify_svn(None, None, [],
> 'propset', 'svn:keywords', 'Rev', mu_path)
>
> + svntest.actions.run_and_verify_status(wc_dir, expected_status)
> +
> + expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
> +
> # Revert the propset
> svntest.actions.run_and_verify_svn(None, None, [], 'revert', mu_path)
> +
> + svntest.actions.run_and_verify_status(wc_dir, expected_status)
> +
> +
>
> ########################################################################
> # Run the tests
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 18 16:20:41 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.