subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1303727 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py
Date Thu, 22 Mar 2012 10:59:03 GMT
Author: julianfoad
Date: Thu Mar 22 10:59:03 2012
New Revision: 1303727

URL: http://svn.apache.org/viewvc?rev=1303727&view=rev
Log:
Fix the double-spacing of stderr lines in test failure logs.

* subversion/tests/cmdline/svntest/main.py
  (run_command_stdin): Remove trailing newline from stderr lines for logging
    as info, just as we do for stdout lines and for logging as warnings.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/main.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1303727&r1=1303726&r2=1303727&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Thu Mar 22 10:59:03 2012
@@ -509,7 +509,7 @@ def run_command_stdin(command, error_exp
   for x in stdout_lines:
     logger.info(x[:-1])
   for x in stderr_lines:
-    logger.info(x)
+    logger.info(x[:-1])
 
   if (not error_expected) and ((stderr_lines) or (exit_code != 0)):
     for x in stderr_lines:



Mime
View raw message