You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2013/02/09 00:29:28 UTC
svn commit: r1444285 -
/subversion/trunk/subversion/tests/cmdline/svntest/verify.py
Author: julianfoad
Date: Fri Feb 8 23:29:28 2013
New Revision: 1444285
URL: http://svn.apache.org/r1444285
Log:
* subversion/tests/cmdline/svntest/verify.py
(RegexListOutput): Fix a stupid mistake in this not-yet-used class: the
match_all case was not matching all lines but only the first min(num-of-
expressions, num-of-lines) lines.
Modified:
subversion/trunk/subversion/tests/cmdline/svntest/verify.py
Modified: subversion/trunk/subversion/tests/cmdline/svntest/verify.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/verify.py?rev=1444285&r1=1444284&r2=1444285&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/verify.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/verify.py Fri Feb 8 23:29:28 2013
@@ -237,7 +237,8 @@ class RegexListOutput(ExpectedOutput):
actual = [actual]
if self.match_all:
- return all(e.match(a) for e, a in zip(self.expected_res, actual))
+ return (len(self.expected_res) == len(actual) and
+ all(e.match(a) for e, a in zip(self.expected_res, actual)))
i_expected = 0
for actual_line in actual: