mirror of
https://github.com/php/php-src.git
synced 2024-10-02 15:26:06 +00:00
af5e2eaf8d
* pull-request/320: this is test 5 not 6 fix race condition more shared names that create race conditions change to a unique filename more shared filenames yet another shared filename don't share a filename to stop race conditions fix race condition for 2-4 and normalize names for others fix race condition when running tests in parallel clean up after test Fix #64572: Clean up after the test Fix #64572: Clean up after the test
19 lines
310 B
PHP
19 lines
310 B
PHP
--TEST--
|
|
Bug #61139 (gzopen leaks when specifying invalid mode)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('zlib')) {
|
|
die('skip - zlib extension not loaded');
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
gzopen('someFile', 'c');
|
|
--CLEAN--
|
|
<?php
|
|
unlink('someFile');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: gzopen(): gzopen failed in %s on line %d
|