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

Re: svn commit: r24845 - trunk/subversion/tests/cmdline

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-04-30 22:16:32 CEST

vgeorgescu@tigris.org wrote:
> +#----------------------------------------------------------------------
> +def depth_immediates_subdir_propset_2(sbox):
> + "depth-1 update receives a subdirectory propset"
> + sbox.build()
> + wc_dir = sbox.wc_dir
> +
> + # Make the other working copy.
> + other_wc = sbox.add_wc_path('other')
> + svntest.actions.duplicate_dir(wc_dir, other_wc)
> +
> + A_path = os.path.join(wc_dir, 'A')
> +
> + # Set a property on an immediate subdirectory of the working copy.
> + svntest.actions.run_and_verify_svn(None, None, [],
> + 'pset', 'foo', 'bar',
> + A_path)
> + # Commit.
> + svntest.actions.run_and_verify_svn(None, None, [],
> + 'commit', '-m', 'logmsg', A_path)
> +
> + # Update at depth=immediates in the other wc, expecting to see no errors.
> + svntest.actions.run_and_verify_svn("Output on stderr where none expected",
> + SVNAnyOutput, [],
> + 'update', '--depth', 'immediates',
> + other_wc)
> +
Vlad,

I think this test would be (even) better if you actually checked the
output of update, it's supposed to receive the property changes on A right?

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 30 22:16:41 2007

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.