php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57226 make test always fail 3 test's
Submitted: 2006-09-11 14:59 UTC Modified: 2006-09-15 10:59 UTC
From: lnunez at telefe dot com dot ar Assigned: pajoye (profile)
Status: Closed Package: zip (PECL)
PHP Version: 5.1.4 OS: FC5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lnunez at telefe dot com dot ar
New email:
PHP Version: OS:

 

 [2006-09-11 14:59 UTC] lnunez at telefe dot com dot ar
Description:
------------
From version 1.5.0 to 1.7.2 make test fail the next 3 test's, version 1.4.1 (an older) is OK.

FAILED TEST SUMMARY
---------------------------------------------------------------------
bug #7658, modify archive with general bit flag 3 set [tests/bug7658.phpt]
ziparchive::addFile() function [tests/oo_addfile.phpt]
zip::close() function [tests/oo_close.phpt]


Actual result:
--------------
# make test

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


=====================================================================
CWD         : /usr/local/src/zip-1.7.2
PHP         : /usr/bin/php
PHP_SAPI    : cli
PHP_VERSION : 5.1.4
ZEND_VERSION: 2.1.0
PHP_OS      : Linux - Linux tlfocsglpi.telefe.com.ar 2.6.17-1.2174_FC5smp #1 SMP Tue Aug 8 16:00:39 EDT 2006 i686
INI actual  : /etc/php.ini
More .INIs  : /etc/php.d/gd.ini,/etc/php.d/ldap.ini,/etc/php.d/mysql.ini,/etc/php.d/mysqli.ini,/etc/php.d/pdo.ini,/etc/php.d/pdo_mysql.ini,/etc/php.d/pdo_sqlite.ini
Extra dirs  :
=====================================================================
Running selected tests.
PASS Check for zip presence [tests/001.phpt]
PASS bug #7214, zip_entry_read() binary safe [tests/bug7214.phpt]
FAIL bug #7658, modify archive with general bit flag 3 set [tests/bug7658.phpt]
PASS bug #8009, cannot add again same entry to an archive [tests/bug8009.phpt]
FAIL ziparchive::addFile() function [tests/oo_addfile.phpt]
FAIL zip::close() function [tests/oo_close.phpt]
PASS Delete entries [tests/oo_delete.phpt]
PASS Extending Zip class and array property [tests/oo_ext_zip.phpt]
PASS zip::open() function [tests/oo_open.phpt]
PASS Rename entries [tests/oo_rename.phpt]
PASS zip_close() function [tests/zip_close.phpt]
PASS zip_entry_compressedsize() function [tests/zip_entry_compressedsize.phpt]
PASS zip_entry_compressionmethod() function [tests/zip_entry_compressionmethod.phpt]
PASS zip_entry_filesize() function [tests/zip_entry_filesize.phpt]
PASS zip_entry_name() function [tests/zip_entry_name.phpt]
PASS zip_entry_open() function [tests/zip_entry_open.phpt]
PASS zip_entry_read() function [tests/zip_entry_read.phpt]
PASS zip_open() function [tests/zip_open.phpt]
PASS zip_read() function [tests/zip_read.phpt]
=====================================================================
Number of tests :   19                19
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    3 ( 15.8%) ( 15.8%)
Tests passed    :   16 ( 84.2%) ( 84.2%)
---------------------------------------------------------------------
Time taken      :    1 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
bug #7658, modify archive with general bit flag 3 set [tests/bug7658.phpt]
ziparchive::addFile() function [tests/oo_addfile.phpt]
zip::close() function [tests/oo_close.phpt]
=====================================================================


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-12 06:35 UTC] pierre dot php at gmail dot com
I did not update the addFile method, it was still using VCWD_REALPATH instead of expand_filepath. It should work again now.

Please try using CVS (module pecl/zip).

The patch is:
http://news.php.net/php.pecl.cvs/6356
 [2006-09-15 10:59 UTC] pierre dot php at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 22:01:29 2024 UTC