You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Madan U Sreenivasan <ma...@collab.net> on 2005/02/18 11:27:50 UTC
[patch]Issue #601 tighter regression tests
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
Re: [patch]Issue #601 tighter regression tests
Posted by kf...@collab.net.
Thanks! Applied in r13055.
-Karl
Madan U Sreenivasan <ma...@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