From: Rainer Jung Date: Tue, 25 Jun 2024 09:24:48 +0000 (+0000) Subject: pytest: fix asset list extraction from nghttp output X-Git-Tag: 2.4.60-rc2-candidate~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b62fb9824194cc0e4f2f6c5d1b2939ee539c7f7;p=thirdparty%2Fapache%2Fhttpd.git pytest: fix asset list extraction from nghttp output Provided by rpluem. Backport of r1918576 from trunk. CTR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1918577 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/pyhttpd/nghttp.py b/test/pyhttpd/nghttp.py index 43721f599ab..e857e9505a3 100644 --- a/test/pyhttpd/nghttp.py +++ b/test/pyhttpd/nghttp.py @@ -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),