Bug #62270 [Opn->Csd]: Test bug - ext/fileinfo/tests/finfo_open_error-win32
| From: | ab@php.net | Date: | Thu, 14 Jun 2012 16:16:55 +0000 |
| Subject: | Bug #62270 [Opn->Csd]: Test bug - ext/fileinfo/tests/finfo_open_error-win32 | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-171255@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62270&edit=1
ID: 62270
Updated by: ab@php.net
Reported by: mattficken@php.net
Summary: Test bug - ext/fileinfo/tests/finfo_open_error-win32
-Status: Open
+Status: Closed
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 5.4.4RC2
-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-06-14 16:06:03] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3faebe2becdbdf0de134ca4e19542b0014fce162
Log: Fix bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
------------------------------------------------------------------------
[2012-06-09 01:21:06] mattficken@php.net
Description:
------------
This test was written for 5_3 but on 5_4 it has additional warning messages.
The attached patch fixes the bug.
Actual result:
--------------
002+
003+ Warning: finfo_open(C:\php-sdk\php-test-pack-5.4-nts-windows-vc9-x86-
rd24d5b6\foobarfile): failed to open stream: No such file or directory in C:\php-
sdk\php-test-pack-5.4-nts-windows-vc9-x86-
rd24d5b6\ext\fileinfo\tests\finfo_open_error-win32.php on line 12
004+
005+ Warning: finfo_open(C:\php-sdk\php-test-pack-5.4-nts-windows-vc9-x86-
rd24d5b6\foobarfile): failed to open stream: No such file or directory in C:\php-
sdk\php-test-pack-5.4-nts-windows-vc9-x86-
rd24d5b6\ext\fileinfo\tests\finfo_open_error-win32.php on line 12
006+
007+ Warning: finfo_open(): Failed to load magic database at 'C:\php-sdk\php-test-
pack-5.4-nts-windows-vc9-x86-rd24d5b6\foobarfile'. in C:\php-sdk\php-test-pack-
5.4-nts-windows-vc9-x86-rd24d5b6\ext\fileinfo\tests\finfo_open_error-win32.php on
line 12
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62270&edit=1