diff --git a/tests/gold_tests/connect/gold/connect_0_stderr.gold b/tests/gold_tests/connect/gold/connect_0_stderr.gold index 55a5d335913..33b04218a98 100644 --- a/tests/gold_tests/connect/gold/connect_0_stderr.gold +++ b/tests/gold_tests/connect/gold/connect_0_stderr.gold @@ -9,7 +9,7 @@ < HTTP/1.1 200 OK `` <`` -* Proxy replied 200 to CONNECT request +`` CONNECT `` `` > GET /get HTTP/1.1 > Host: foo.com diff --git a/tests/gold_tests/h2/h2enable.test.py b/tests/gold_tests/h2/h2enable.test.py index 120f4a08939..6dedb0732bc 100644 --- a/tests/gold_tests/h2/h2enable.test.py +++ b/tests/gold_tests/h2/h2enable.test.py @@ -71,7 +71,7 @@ tr.StillRunningAfter = ts tr.Processes.Default.TimeOut = 5 tr.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr.Processes.Default.Streams.All += Testers.ExcludesExpression("Using HTTP2", "Curl should negotiate HTTP2") +tr.Processes.Default.Streams.All += Testers.ExcludesExpression("[Uu]sing HTTP/?2", "Curl should negotiate HTTP2") tr.TimeOut = 5 tr2 = Test.AddTestRun("Do negotiate h2") @@ -82,7 +82,7 @@ tr2.Processes.Default.TimeOut = 5 tr2.StillRunningAfter = ts tr2.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr2.Processes.Default.Streams.All += Testers.ContainsExpression("Using HTTP2", "Curl should not negotiate HTTP2") +tr2.Processes.Default.Streams.All += Testers.ContainsExpression("[Uu]sing HTTP/?2", "Curl should not negotiate HTTP2") tr2.TimeOut = 5 tr2 = Test.AddTestRun("Do negotiate h2") @@ -93,5 +93,5 @@ tr2.Processes.Default.TimeOut = 5 tr2.StillRunningAfter = ts tr2.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr2.Processes.Default.Streams.All += Testers.ContainsExpression("Using HTTP2", "Curl should not negotiate HTTP2") +tr2.Processes.Default.Streams.All += Testers.ContainsExpression("[Uu]sing HTTP/?2", "Curl should not negotiate HTTP2") tr2.TimeOut = 5 diff --git a/tests/gold_tests/h2/h2enable_no_accept_threads.test.py b/tests/gold_tests/h2/h2enable_no_accept_threads.test.py index b7c55a01155..91af61f15e2 100644 --- a/tests/gold_tests/h2/h2enable_no_accept_threads.test.py +++ b/tests/gold_tests/h2/h2enable_no_accept_threads.test.py @@ -70,7 +70,7 @@ tr.StillRunningAfter = ts tr.Processes.Default.TimeOut = 5 tr.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr.Processes.Default.Streams.All += Testers.ExcludesExpression("Using HTTP2", "Curl should negotiate HTTP2") +tr.Processes.Default.Streams.All += Testers.ExcludesExpression("[Uu]sing HTTP/?2", "Curl should negotiate HTTP2") tr.TimeOut = 5 tr2 = Test.AddTestRun("Do negotiate h2") @@ -80,7 +80,7 @@ tr2.Processes.Default.TimeOut = 5 tr2.StillRunningAfter = ts tr2.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr2.Processes.Default.Streams.All += Testers.ContainsExpression("Using HTTP2", "Curl should not negotiate HTTP2") +tr2.Processes.Default.Streams.All += Testers.ContainsExpression("[Uu]sing HTTP/?2", "Curl should not negotiate HTTP2") tr2.TimeOut = 5 tr2 = Test.AddTestRun("Do negotiate h2") @@ -91,5 +91,5 @@ tr2.Processes.Default.TimeOut = 5 tr2.StillRunningAfter = ts tr2.Processes.Default.Streams.All = Testers.ExcludesExpression("Could Not Connect", "Curl attempt should have succeeded") -tr2.Processes.Default.Streams.All += Testers.ContainsExpression("Using HTTP2", "Curl should not negotiate HTTP2") +tr2.Processes.Default.Streams.All += Testers.ContainsExpression("[Uu]sing HTTP/?2", "Curl should not negotiate HTTP2") tr2.TimeOut = 5 diff --git a/tests/gold_tests/proxy_protocol/gold/test_case_0_stderr.gold b/tests/gold_tests/proxy_protocol/gold/test_case_0_stderr.gold index 903ab390edf..f7ae4307911 100644 --- a/tests/gold_tests/proxy_protocol/gold/test_case_0_stderr.gold +++ b/tests/gold_tests/proxy_protocol/gold/test_case_0_stderr.gold @@ -1,5 +1,4 @@ `` -> PROXY TCP4 127.0.0.1 127.0.0.1 `` > GET /get HTTP/1.1 > Host: localhost:`` > User-Agent: curl/`` diff --git a/tests/gold_tests/proxy_protocol/gold/test_case_1_stderr.gold b/tests/gold_tests/proxy_protocol/gold/test_case_1_stderr.gold index 903ab390edf..f7ae4307911 100644 --- a/tests/gold_tests/proxy_protocol/gold/test_case_1_stderr.gold +++ b/tests/gold_tests/proxy_protocol/gold/test_case_1_stderr.gold @@ -1,5 +1,4 @@ `` -> PROXY TCP4 127.0.0.1 127.0.0.1 `` > GET /get HTTP/1.1 > Host: localhost:`` > User-Agent: curl/``