Bug #61621 [Com]: Test fail in ext/standard/tests/dir

From: Date: Tue, 10 Apr 2012 01:59:56 +0000
Subject: Bug #61621 [Com]: Test fail in ext/standard/tests/dir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169381@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61621&edit=1 ID: 61621 Comment by: mattficken@php.net Reported by: ab@php.net Summary: Test fail in ext/standard/tests/dir Status: Open Type: Bug Package: Directory function related Operating System: Windows PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6. Previous Comments: ------------------------------------------------------------------------ [2012-04-04 11:38:32] ab@php.net The patch adds an SKIPF clause on windows for the faling tests ------------------------------------------------------------------------ [2012-04-04 11:37:52] 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:34:18] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61621&edit=1

« previous php.bugs (#169381) next »