Bug #61903 [Opn->Csd]: ext\phar\tests\tar\phar_commitwrite.phpt fails
| From: | ab@php.net | Date: | Mon, 07 May 2012 13:41:55 +0000 |
| Subject: | Bug #61903 [Opn->Csd]: ext\phar\tests\tar\phar_commitwrite.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170281@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61903&edit=1
ID: 61903
Updated by: ab@php.net
Reported by: ab@php.net
Summary: ext\phar\tests\tar\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:08:07] 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\tar\phar_commitwrite.php:3
002+ Stack trace:
003+ #0
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\phar\tests\tar\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\tar\phar_commitwrite.php on
line 3
001- string(60) "<?php // tar-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=61903&edit=1