mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
- Added test: For some reason this fails with ZTS mode and "outside-src-tree-build"
This commit is contained in:
17
ext/zlib/tests/compress_zlib_wrapper.phpt
Normal file
17
ext/zlib/tests/compress_zlib_wrapper.phpt
Normal file
@@ -0,0 +1,17 @@
|
||||
--TEST--
|
||||
compress.zlib:// wrapper
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
// Relative path
|
||||
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "wb");
|
||||
fclose($fp);
|
||||
|
||||
// Absolute path
|
||||
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "wb");
|
||||
fclose($fp);
|
||||
|
||||
echo "ok\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
ok
|
||||
Reference in New Issue
Block a user