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:
Rainer Jung
2024-06-25 09:21:49 +00:00
parent 3a152753b6
commit fd1460442a

View File

@ -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),