openbsd-ports/converters/recode/patches/patch-tests_bigauto_py
alek 8790479dd1 - Fix REGRESS_DEPENDS
- Explicitly link with libiconv
- Fix regression test script
- Bump PKGNAME

ok naddy@
2005-01-28 21:00:28 +00:00

27 lines
1.2 KiB
Plaintext

$OpenBSD: patch-tests_bigauto_py,v 1.1 2005/01/28 21:00:28 alek Exp $
--- tests/bigauto.py.orig Mon Jan 17 21:00:16 2005
+++ tests/bigauto.py Mon Jan 17 21:01:43 2005
@@ -81,16 +81,20 @@ class Report:
lensep = len(os.linesep)
line = readline()
while line:
- type, request = string.split(line[:-lensep], ':', 1)
+ split = string.split(line[:-lensep], ':', 1)
+ type = split[0]
if type == 'Request':
+ request = split[1]
steps = self.get_steps(request)
self.count_original_request(steps, request)
line = readline()
if line:
if len(string.split(line[:-lensep], ':', 1)) != 2:
print '*', line,
- type, shrunk_to = string.split(line[:-lensep], ':', 1)
+ split = string.split(line[:-lensep], ':', 1)
+ type = split[0]
if type == 'Shrunk to':
+ shrunk_to = split[1]
steps = self.get_steps(shrunk_to)
self.count_shrunk_request(steps, shrunk_to)
line = readline()