[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix a translation test that would fail when run over https://.

From: Jens Peters <jpeters7677_at_gmx.de>
Date: Wed, 08 Apr 2009 22:44:30 +0200

Hello,

This small patch fixes a glitch when running the testsuite over https.

Regards,
Jens

[[[
Fix a translation test that would fail when run over https://.

* subversion/tests/cmdline/trans_tests.py
   (keywords_from_birth): Add "https" to the regexp of patterns to match.

Patch by: <jpeters7677 {at} gmx.de>
]]]

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1601928

Index: trans_tests.py
===================================================================
--- trans_tests.py (revision 37116)
+++ trans_tests.py (working copy)
@@ -328,7 +328,7 @@
   fp = open(header_unexp_path, 'r')
   lines = fp.readlines()
   if not ((len(lines) == 1)
- and (re.match("\$Header: (http|file|svn|svn\\+ssh)://.* jrandom",
+ and (re.match("\$Header: (http|https|file|svn|svn\\+ssh)://.* jrandom",
                         lines[0]))):
     print("Header expansion failed for %s" % header_unexp_path)
     raise svntest.Failure
@@ -338,7 +338,7 @@
   fp = open(header_exp_path, 'r')
   lines = fp.readlines()
   if not ((len(lines) == 1)
- and (re.match("\$Header: (http|file|svn|svn\\+ssh)://.* jrandom",
+ and (re.match("\$Header: (http|https|file|svn|svn\\+ssh)://.* jrandom",
                         lines[0]))):
     print("Header expansion failed for %s" % header_exp_path)
     raise svntest.Failure
Received on 2009-04-08 22:45:09 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.