Skip to content

Commit c032912

Browse files
committed
or making it straight a failure
1 parent 6dae6c7 commit c032912

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

ext/pgsql/tests/gh21162.phpt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@
22
GH-21162 (pg_connect() on error memory leak)
33
--EXTENSIONS--
44
pgsql
5-
--SKIPIF--
6-
<?php
7-
if(substr(PHP_OS, 0, 3) == 'WIN' ) {
8-
die('skip not for windows');
9-
}
10-
?>
115
--FILE--
126
<?php
137

148
set_error_handler(function (int $errno, string $errstr) {
159
echo "Warning caught\n";
1610
});
1711

18-
pg_connect('');
12+
pg_connect('host=blablahost.');
1913

2014
echo "Done\n";
2115
?>

0 commit comments

Comments
 (0)