> I made one tweak: in the test for detecting an error, after detecting
> the error, we need to clear the error, otherwise the test harness
> reports success on the individual test but reports a problem at the end
> of the test run:
>
>  PASS:  lt-subst_translate-test 1: test svn_subst_translate_string2()
>  /home/julianfoad/bin/svn-c-test: line 35: 11406 Aborted
>
> So I added "svn_error_clear(err);" after "SVN_TEST_ASSERT(err->apr_err
> == SVN_ERR_IO_INCONSISTENT_EOL);".

Is the svn_error_t object reused?  I thought that whenever an error
occurs, a new svn_error_t object is allocated.

Reply via email to