]> granicus.if.org Git - php/commitdiff
Enable error diagnostic for check_default_conf_path.phpt
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 1 Apr 2020 17:20:35 +0000 (19:20 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 1 Apr 2020 17:20:35 +0000 (19:20 +0200)
Otherwise we have no clue why the test failed, if the regex didn't
match.

ext/openssl/tests/check_default_conf_path.phpt

index 9ce0d41cc34db83a12b35ed944cc999d493891ec..f86a06d7968ecede11286304d1aa626a74458db7 100644 (file)
@@ -18,6 +18,8 @@ preg_match(",Openssl default config [^ ]* (.*),", $info, $m);
 
 if (isset($m[1])) {
     var_dump(str_replace('/', '\\', strtolower($m[1])));
+} else {
+    echo $info;
 }
 ?>
 --EXPECTF--