mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
pytest: fix asset list extraction from nghttp output
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918576 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -224,7 +224,7 @@ class Nghttp:
|
|||||||
if 0 == r.exit_code:
|
if 0 == r.exit_code:
|
||||||
lines = re.findall(r'[^\n]*\n', r.stdout, re.MULTILINE)
|
lines = re.findall(r'[^\n]*\n', r.stdout, re.MULTILINE)
|
||||||
for lidx, l in enumerate(lines):
|
for lidx, l in enumerate(lines):
|
||||||
m = re.match(r'\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+/(.*)', l)
|
m = re.match(r'\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+/*(/.*)', l)
|
||||||
if m:
|
if m:
|
||||||
assets.append({
|
assets.append({
|
||||||
"path": m.group(7),
|
"path": m.group(7),
|
||||||
|
Reference in New Issue
Block a user