Author: julianfoad
Date: Fri Feb 6 12:15:57 2015
New Revision: 1657786
URL: http://svn.apache.org/r1657786
Log:
Add an explanatory comment where we filter out 'consider upgrade' warnings
in the test suite, following r1143348.
* subversion/tests/cmdline/svnsync_tests.py
(run_sync, run_copy_revprops, run_init): Add comment.
* subversion/tests/cmdline/svntest/actions.py
(run_and_verify_svnrdump): Add comment.
Modified:
subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
subversion/trunk/subversion/tests/cmdline/svntest/actions.py
Modified: subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_tests.py?rev=1657786&r1=1657785&r2=1657786&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_tests.py Fri Feb 6
12:15:57 2015
@@ -61,6 +61,8 @@ def run_sync(url, source_url=None, expec
args.append(source_prop_encoding)
exit_code, output, errput = svntest.main.run_svnsync(*args)
+ # Ignore "consider upgrade" warnings to allow regression tests to pass
+ # when run against a 1.6 mod_dav_svn.
for index, line in enumerate(errput[:]):
if re.search("warning: W200007", line):
del errput[index]
@@ -87,6 +89,8 @@ def run_copy_revprops(url, source_url, e
args.append(source_prop_encoding)
exit_code, output, errput = svntest.main.run_svnsync(*args)
+ # Ignore "consider upgrade" warnings to allow regression tests to pass
+ # when run against a 1.6 mod_dav_svn.
for index, line in enumerate(errput[:]):
if re.search("warning: W200007", line):
del errput[index]
@@ -113,6 +117,8 @@ def run_init(dst_url, src_url, source_pr
args.append(source_prop_encoding)
exit_code, output, errput = svntest.main.run_svnsync(*args)
+ # Ignore "consider upgrade" warnings to allow regression tests to pass
+ # when run against a 1.6 mod_dav_svn.
for index, line in enumerate(errput[:]):
if re.search("warning: W200007", line):
del errput[index]
Modified: subversion/trunk/subversion/tests/cmdline/svntest/actions.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/actions.py?rev=1657786&r1=1657785&r2=1657786&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/actions.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/actions.py Fri Feb 6
12:15:57 2015
@@ -374,6 +374,8 @@ def run_and_verify_svnrdump(dumpfile_con
if sys.platform == 'win32':
err = map(lambda x : x.replace('\r\n', '\n'), err)
+ # Ignore "consider upgrade" warnings to allow regression tests to pass
+ # when run against a 1.6 mod_dav_svn.
for index, line in enumerate(err[:]):
if re.search("warning: W200007", line):
del err[index]