Bug #53867 [NEW]: Test failure.
| From: | rquadling@php.net | Date: | Fri, 28 Jan 2011 14:20:20 +0000 |
| Subject: | Bug #53867 [NEW]: Test failure. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-158276@lists.php.net to get a copy of this message | ||
From: rquadling
Operating system: Windows XP SP3
PHP version: 5.3SVN-2011-01-28 (SVN)
Package: Zip Related
Bug Type: Bug
Bug description:Test failure.
Description:
------------
The ext/zip/tests/stream_meta_data.phpt test fails on windows.
The issue is in the URI test.
zip:///%stest_with_comment.zip#foo
I read this as ...
stream zip://
root /
path %s
file#query test_with_comments.zip#foo
On Windows the root is incorrect. It will be C: or D: (for example).
As the path is picked up using %s, the attached patch should work on
non-windows
as well as windows.
--
Edit bug report at http://bugs.php.net/bug.php?id=53867&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53867&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53867&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53867&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53867&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53867&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53867&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53867&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53867&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53867&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53867&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53867&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53867&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53867&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53867&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53867&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53867&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53867&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53867&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53867&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53867&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53867&r=mysqlcfg