You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/08/30 23:50:48 UTC

[trafficserver] branch 9.2.x updated: Update expected ALPN output for recent versions of curl (#9072)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new ebe5b5171 Update expected ALPN output for recent versions of curl (#9072)
ebe5b5171 is described below

commit ebe5b51718fc62c14e9da1fd8a1d5a49e2fc69ae
Author: Brian Neradt <br...@gmail.com>
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.
    
    (cherry picked from commit 30374bcd42bd2432b50ee58a91889cc7a59108bc)
---
 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")