php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
Submitted: 2012-06-09 01:21 UTC Modified: 2012-06-14 16:16 UTC
From: mattficken@php.net Assigned: ab (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.4RC2 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
27 - 16 = ?
Subscribe to this entry?

 
 [2012-06-09 01:21 UTC] 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

Patches

finfo_open_error-win32.patch.txt (last revision 2012-06-09 01:21 UTC by mattficken)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-14 16:06 UTC] 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-14 16:16 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-06-14 16:16 UTC] ab@php.net
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.


 [2014-10-07 23:24 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=3faebe2becdbdf0de134ca4e19542b0014fce162
Log: Fix bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
 [2014-10-07 23:35 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=3faebe2becdbdf0de134ca4e19542b0014fce162
Log: Fix bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC