This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 30374bcd4 Update expected ALPN output for recent versions of curl
(#9072)
30374bcd4 is described below
commit 30374bcd42bd2432b50ee58a91889cc7a59108bc
Author: Brian Neradt <[email protected]>
AuthorDate: Mon Aug 29 19:52:50 2022 -0500
Update expected ALPN output for recent versions of curl (#9072)
Recent versions of curl have updated their ALPN negotiation logging.
This updates a gold file to accommodate that new output. The update
should be backwards compatible.
---
tests/gold_tests/tls/tls_bad_alpn.test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gold_tests/tls/tls_bad_alpn.test.py
b/tests/gold_tests/tls/tls_bad_alpn.test.py
index 06c29ca15..2bcd2ee52 100644
--- a/tests/gold_tests/tls/tls_bad_alpn.test.py
+++ b/tests/gold_tests/tls/tls_bad_alpn.test.py
@@ -72,5 +72,5 @@ tr = Test.AddTestRun("alpn h2")
tr.Processes.Default.Command = "curl -k --http2 -v -o /dev/null
https://127.0.0.1:{}".format(ts.Variables.ssl_port)
tr.ReturnCode = 0
tr.StillRunningAfter = ts
-tr.Processes.Default.Streams.All += Testers.IncludesExpression("ALPN, server
accepted to use h2", "negotiated h2")
+tr.Processes.Default.Streams.All += Testers.IncludesExpression("ALPN. server
accepted.*h2", "negotiated h2")
tr.Processes.Default.Streams.All += Testers.IncludesExpression("HTTP/2 404 ",
"Good response")