Make the regression test suite print the output of commands when running in verbose mode, and the expected pattern when failing to match stderr. * subversion/tests/cmdline/checkout_tests.py (test_stderr): When failing to match an expected pattern in stderr, print the expected pattern. * subversion/tests/cmdline/svntest/main.py (run_command_stdin): In verbose mode, print the command's stdout and stderr. Index: subversion/tests/cmdline/checkout_tests.py =================================================================== --- subversion/tests/cmdline/checkout_tests.py (revision 31711) +++ subversion/tests/cmdline/checkout_tests.py (working copy) @@ -38,6 +38,9 @@ def test_stderr(re_string, stderr): for line in stderr: if exp_err_re.search(line): return + if svntest.main.verbose_mode: + map(sys.stdout.write, stderr) + print "Expected stderr reg-ex: '" + re_string + "'" raise svntest.Failure("Checkout failed but not in the expected way") #---------------------------------------------------------------------- Index: subversion/tests/cmdline/svntest/main.py =================================================================== --- subversion/tests/cmdline/svntest/main.py (revision 31711) +++ subversion/tests/cmdline/svntest/main.py (working copy) @@ -441,9 +441,12 @@ def run_command_stdin(command, error_exp if verbose_mode: stop = time.time() print '