Test 1800 never runs because it says the http2 feature is not enabled,
even when it is. I think there's some mix-up between "http2", "HTTP2"
and "http/2" in the feature name in various places. Attached patch
fixes this for me.

Paul.
--- tests/data/test1800
+++ tests/data/test1800
@@ -27,7 +27,7 @@ Content-Type: text/html
 http
 </server>
 <features>
-http2
+HTTP2
 </features>
  <name>
 HTTP/2 upgrade refused
--- tests/FILEFORMAT
+++ tests/FILEFORMAT
@@ -213,7 +213,7 @@ debug
 getrlimit
 GnuTLS
 GSS-API
-http2
+HTTP2
 idn
 ipv6
 Kerberos
--- tests/runtests.pl
+++ tests/runtests.pl
@@ -3032,7 +3032,7 @@ sub singletest {
                     next;
                 }
             }
-            elsif($1 eq "http/2") {
+            elsif($1 eq "HTTP2") {
                 if($has_http2) {
                     next;
                 }
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to