php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61621 Test fail in ext/standard/tests/dir
Submitted: 2012-04-04 11:34 UTC Modified: 2012-04-10 10:53 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Directory function related
PHP Version: 5.3.10 OS: Windows
Private report: No CVE-ID: None
 [2012-04-04 11:34 UTC] ab@php.net
Description:
------------
All the failing tests diff looks like below or similar

036+ Warning: dir(1,1): The system cannot find the file specified. (code: 2) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\dir\dir_variation1.php on line 73
037+
046+ Warning: dir(1,1): The system cannot find the file specified. (code: 2) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\dir\dir_variation1.php on line 73
047+

The tests are

ext\standard\tests\dir\dir_variation8.phpt
ext\standard\tests\dir\dir_variation9.phpt
ext\standard\tests\dir\opendir_error2.phpt
ext\standard\tests\dir\opendir_variation1.phpt
ext\standard\tests\dir\opendir_variation6.phpt
ext\standard\tests\dir\scandir_error2.phpt
ext\standard\tests\dir\scandir_variation1.phpt
ext\standard\tests\dir\scandir_variation6.phpt 

In the 5.4 and master branches thease are ignored on windows, so it must be pulled behind in the 5.3 branch.

Expected result:
----------------
tests pass

Actual result:
--------------
tests fail

Patches

61621.diff (last revision 2012-04-04 11:37 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-04 11:37 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61621.diff
Revision:   1333539472
URL:        https://bugs.php.net/patch-display.php?bug=61621&patch=61621.diff&revision=1333539472
 [2012-04-04 11:38 UTC] ab@php.net
The patch adds an SKIPF clause on windows for the faling tests
 [2012-04-10 01:59 UTC] mattficken@php.net
The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6.
 [2012-04-10 10:53 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-04-10 10:53 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.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 23:01:24 2021 UTC