FAQ
sniper Mon Apr 25 10:04:01 2005 EDT

Added files:
/php-src/ext/zlib/tests compress_zlib_wrapper.phpt
Log:
- Added test: For some reason this fails with ZTS mode and "outside-src-tree-build"


http://cvs.php.net/co.php/php-src/ext/zlib/tests/compress_zlib_wrapper.phpt?r=1.1&p=1
Index: php-src/ext/zlib/tests/compress_zlib_wrapper.phpt
+++ php-src/ext/zlib/tests/compress_zlib_wrapper.phpt
--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

Search Discussions

  • Jani Taskinen at Apr 27, 2005 at 8:10 am
    sniper Wed Apr 27 04:10:42 2005 EDT

    Modified files:
    /php-src/ext/zlib/tests compress_zlib_wrapper.phpt
    Log:
    nuking that file was not very good idea :)

    http://cvs.php.net/diff.php/php-src/ext/zlib/tests/compress_zlib_wrapper.phpt?r1=1.1&r2=1.2&ty=u
    Index: php-src/ext/zlib/tests/compress_zlib_wrapper.phpt
    diff -u php-src/ext/zlib/tests/compress_zlib_wrapper.phpt:1.1 php-src/ext/zlib/tests/compress_zlib_wrapper.phpt:1.2
    --- php-src/ext/zlib/tests/compress_zlib_wrapper.phpt:1.1 Mon Apr 25 10:04:00 2005
    +++ php-src/ext/zlib/tests/compress_zlib_wrapper.phpt Wed Apr 27 04:10:41 2005
    @@ -4,11 +4,11 @@
    <?php

    // Relative path
    -$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "wb");
    +$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "rb");
    fclose($fp);

    // Absolute path
    -$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "wb");
    +$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
    fclose($fp);

    echo "ok\n";

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-cvs @
categoriesphp
postedApr 25, '05 at 2:04p
activeApr 27, '05 at 8:10a
posts2
users1
websitephp.net

1 user in discussion

Jani Taskinen: 2 posts

People

Translate

site design / logo © 2019 Grokbase