artag...@apache.org wrote on Sat, Jul 24, 2010 at 10:18:58 -0000: > + # Create a dump file using svnrdump > + r, svnrdump_dumpfile, err = svntest.main.run_svnrdump(sbox.repo_url) > + > + # Check error code > + if (r != 0): > + raise svntest.Failure('Result code not 0') > + > + # Check the output from stderr > + if not err[0].startswith('* Dumped revision'): > + raise svntest.Failure('No valid output')
Not your fault, but that's not what I meant. What I meant was to check for no unexpected stderr (e.g., no "svn: warning %s" or similar). For example, you could do that by running 'svnrdump -q' and then verifying that *nothing* was printed to stderr. Makes sense?