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