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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mattficken@php.net
New email:
PHP Version: OS:

 

 [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: Thu Apr 18 12:01:28 2024 UTC