mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +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:
|
||||
lines = re.findall(r'[^\n]*\n', r.stdout, re.MULTILINE)
|
||||
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:
|
||||
assets.append({
|
||||
"path": m.group(7),
|
||||
|
Reference in New Issue
Block a user