fix tests
authorMichael Wallner <mike@php.net>
Wed, 5 Oct 2016 11:14:50 +0000 (13:14 +0200)
committerMichael Wallner <mike@php.net>
Wed, 5 Oct 2016 11:14:50 +0000 (13:14 +0200)
tests/client022.phpt
tests/client028.phpt

index e813cdc0c953c018a044569526857e11cdb10d40..434135107ae6215597fd63dd5a6d78886581791f 100644 (file)
@@ -19,6 +19,7 @@ nghttpd(function($port) {
                "protocol" => http\Client\Curl\HTTP_VERSION_2_0,
                "ssl" => [
                        "cainfo" => __DIR__."/helper/http2.crt",
+                       "verifypeer" => false, // needed for NSS without PEM support 
                ]
        ]);
        
index 232f56285d560d6290e3321d13df34044020f715..b0550df01b27ba96cf33edeafa06a0d91dd1cf09 100644 (file)
@@ -137,5 +137,5 @@ server("proxy.inc", function($port) {
 ===DONE===
 --EXPECTREGEX--
 Test
-T[WST]*(O[WST]*)+U+int\(200\)
+[ST][WST]*([OWST]*)+U+int\(200\)
 ===DONE===