subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1414252 - /subversion/trunk/subversion/tests/cmdline/getopt_tests.py
Date Tue, 27 Nov 2012 16:37:40 GMT
Author: julianfoad
Date: Tue Nov 27 16:37:39 2012
New Revision: 1414252

URL: http://svn.apache.org/viewvc?rev=1414252&view=rev
Log:
* subversion/tests/cmdline/getopt_tests.py
  (run_one_test): Eliminate extra blank lines from the test failure log.

Modified:
    subversion/trunk/subversion/tests/cmdline/getopt_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/getopt_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/getopt_tests.py?rev=1414252&r1=1414251&r2=1414252&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/getopt_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/getopt_tests.py Tue Nov 27 16:37:39 2012
@@ -172,12 +172,12 @@ def run_one_test(sbox, basename, *vararg
     logger.warn("Expected standard output:")
     logger.warn("=====")
     for x in exp_stdout:
-      logger.warn(x)
+      logger.warn(x.rstrip())
     logger.warn("=====")
     logger.warn("Actual standard output:")
     logger.warn("=====")
     for x in actual_stdout:
-      logger.warn(x)
+      logger.warn(x.rstrip())
     logger.warn("=====")
     raise svntest.Failure
 
@@ -186,12 +186,12 @@ def run_one_test(sbox, basename, *vararg
     logger.warn("Expected standard error:")
     logger.warn("=====")
     for x in exp_stderr:
-      logger.warn(x)
+      logger.warn(x.rstrip())
     logger.warn("=====")
     logger.warn("Actual standard error:")
     logger.warn("=====")
     for x in actual_stderr:
-      logger.warn(x)
+      logger.warn(x.rstrip())
     logger.warn("=====")
     raise svntest.Failure
 



Mime
View raw message