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

Re: svn commit: r1461542 - /subversion/trunk/subversion/tests/libsvn_repos/repos-test.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 27 Mar 2013 13:26:38 +0100

On Wed, Mar 27, 2013 at 01:16:58PM +0100, Bert Huijben wrote:
> > SVN_TEST_ASSERT(err != SVN_NO_ERROR);
> > + svn_error_clear(err);
> > + svn_pool_clear(subpool);
>
> I think there is some SVN_TEST_ macro that tests for a specific error code and then clears the error for you.
>
> That would be a more stable test than just assuming any error is ok.

Yes, my plan was to make the test check for a specific error code once
the implementation returns one.
Received on 2013-03-27 13:27:16 CET

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.