Skip to content

Commit 71e1d37

Browse files
committed
Enable error diagnostic for check_default_conf_path.phpt
Otherwise we have no clue why the test failed, if the regex didn't match.
1 parent 59c8d6a commit 71e1d37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/openssl/tests/check_default_conf_path.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ preg_match(",Openssl default config [^ ]* (.*),", $info, $m);
1818

1919
if (isset($m[1])) {
2020
var_dump(str_replace('/', '\\', strtolower($m[1])));
21+
} else {
22+
echo $info;
2123
}
2224
?>
2325
--EXPECTF--

0 commit comments

Comments
 (0)