*) test/modules/http2. convert bytes to string before

writing output of a failed transfer to file.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2022-02-24 12:40:28 +00:00
parent 8fbfffd862
commit ae5794bde6

View File

@ -65,7 +65,7 @@ class TestProxy:
src = file.read()
if r.response["body"] != src:
with open(os.path.join(env.gen_dir, "nghttp.out"), 'w') as fd:
fd.write(r.outraw)
fd.write(r.outraw.decode())
fd.write("\nstderr:\n")
fd.write(r.stderr)
assert r.response["body"] == src