Bug #61905 [Opn->Csd]: ext\phar\tests\zip\phar_commitwrite.phpt fails
Edit report at https://bugs.php.net/bug.php?id=61905&edit=1
ID: 61905
Updated by: ab@php.net
Reported by: ab@php.net
Summary: ext\phar\tests\zip\phar_commitwrite.phpt fails
-Status: Open
+Status: Closed
Type: Bug
Package: PHAR related
Operating System: windows
PHP Version: Irrelevant
-Assigned To:
+Assigned To: ab
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-05-02 15:15:46] ab@php.net
Description:
------------
Test diff:
001+ Fatal error: Uncaught exception 'BadMethodCallException' with message 'Entry
file1.txt does not exist and cannot be created: phar error: unable to create temporary file' in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\zip\phar_commitwrite.php:3
002+ Stack trace:
003+ #0
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\zip\phar_commitwrite.php(3):
Phar->offsetSet('file1.txt', 'hi')
004+ #1 {main}
005+ thrown in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\zip\phar_commitwrite.php on
line 3
001- string(60) "<?php // zip-based phar archive stub file
002- __HALT_COMPILER();"
003- string(200) "<?php
004- function __autoload($class)
005- {
006- include 'phar://' . str_replace('_', '/', $class);
007- }
008- Phar::mapPhar('brandnewphar.phar');
009- include 'phar://brandnewphar.phar/startup.php';
010- __HALT_COMPILER(); ?>
011- "
012- bool(true)
013- ===DONE===
Expected result:
----------------
test pass
Actual result:
--------------
test fail
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61905&edit=1
Thread (2 messages)