summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-17 01:03:20 -0700
committerStanislav Malyshev <stas@php.net>2013-06-17 01:06:01 -0700
commit6b896fa57f01e7ad165e48846bad6e2d3bdca953 (patch)
treeaf109d6037d305f848ff59ed7d44d8c348b77df2 /ext/zlib
parent5ac0ee30cec04b7527eb81abb84ed37f0c74da7a (diff)
downloadphp-git-6b896fa57f01e7ad165e48846bad6e2d3bdca953.tar.gz
Merge branch 'pull-request/320'
* 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
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/tests/bug61139.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/zlib/tests/bug61139.phpt b/ext/zlib/tests/bug61139.phpt
index eaca00369b..71961a64dc 100644
--- a/ext/zlib/tests/bug61139.phpt
+++ b/ext/zlib/tests/bug61139.phpt
@@ -10,5 +10,9 @@ if (!extension_loaded('zlib')) {
<?php
gzopen('someFile', 'c');
+--CLEAN--
+<?php
+ unlink('someFile');
+?>
--EXPECTF--
Warning: gzopen(): gzopen failed in %s on line %d