Bug #61667 [Com]: ext\standard\tests\file\glob_variation-win32.phpt fails
| From: | mattficken@php.net | Date: | Tue, 10 Apr 2012 02:02:22 +0000 |
| Subject: | Bug #61667 [Com]: ext\standard\tests\file\glob_variation-win32.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169390@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61667&edit=1
ID: 61667
Comment by: mattficken@php.net
Reported by: ab@php.net
Summary: ext\standard\tests\file\glob_variation-win32.phpt
fails
Status: Open
Type: Bug
Package: Filesystem 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-08 11:14:59] ab@php.net
the test passes on php >=5.4, only the php 5.3 has changed
------------------------------------------------------------------------
[2012-04-08 11:14:11] ab@php.net
The following patch has been added/updated:
Patch Name: 61667.diff
Revision: 1333883651
URL: https://bugs.php.net/patch-display.php?bug=61667&patch=61667.diff&revision=1333883651
------------------------------------------------------------------------
[2012-04-08 11:12:53] ab@php.net
Description:
------------
Test diff:
240+ bool(false)
241+ bool(false)
242+ bool(false)
243+ bool(false)
244+ bool(false)
245+ bool(false)
246+
247+ -- Iteration 9 --
248- string(%d) "%s/glob_variation/WONDER5"
255- -- Iteration 9 --
256+ string(33) "$file_path/glob_variation/wonder5"
263+ -- Iteration 10 --
264- string(%d) "$file_path/glob_variation/wonder5"
271- -- Iteration 10 --
272+ string(80)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/?wonder?"
279+ -- Iteration 11 --
280- string(%d) "%s/glob_variation/?wonder?"
287- -- Iteration 11 --
288+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder?"
295+ -- Iteration 12 --
296- string(%d) "%s/glob_variation/wonder?"
303- -- Iteration 12 --
304- array(0) {
304+ string(1) "1"
306- array(0) {
308- array(0) {
311+ *** Testing glob() with pattern within braces ***
312+ array(1) {
313+ [0]=>
314+ string(83)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder12345"
312- string(%d) "1"
316+
317+ *** Testing glob() on directories ***
318+ -- Iteration 1 --
319+ array(1) {
320+ [0]=>
321+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
318-
319- *** Testing glob() with pattern within braces ***
322- string(%d) "%s/glob_variation/wonder12345"
323+ -- Iteration 2 --
324+ array(1) {
325+ [0]=>
326+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
324-
325- *** Testing glob() on directories ***
326- -- Iteration 1 --
328+ -- Iteration 3 --
331+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
331- -- Iteration 2 --
332- array(1) {
333- [0]=>
334- string(%d) "%s/glob_variation/wonder1"
333+ -- Iteration 4 --
336+ -- Iteration 5 --
336- -- Iteration 3 --
339+ -- Iteration 6 --
342+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
343+ }
344+ -- Iteration 7 --
345+ array(0) {
346+ }
347+ -- Iteration 8 --
348+ bool(false)
349+ -- Iteration 9 --
350+ array(0) {
351+ }
352+ -- Iteration 10 --
353+ array(0) {
355+ -- Iteration 11 --
360+ -- Iteration 12 --
361+ array(0) {
363+ Done
337- array(1) {
338- [0]=>
339- string(%d) "%s/glob_variation/wonder1"
340- }
341- -- Iteration 4 --
342- array(0) {
343- }
344- -- Iteration 5 --
345- array(0) {
346- }
347- -- Iteration 6 --
348- array(1) {
349- [0]=>
350- string(%d) "%s/glob_variation/wonder1"
351- }
352- -- Iteration 7 --
353- array(0) {
354- }
355- -- Iteration 8 --
356- array(0) {
357- }
358- -- Iteration 9 --
359- array(0) {
360- }
361- -- Iteration 10 --
362- array(0) {
363- }
364- -- Iteration 11 --
365- array(1) {
366- [0]=>
367- string(%d) "%s/glob_variation/wonder1"
368- }
369- -- Iteration 12 --
370- array(0) {
371- }
372- Done
Expected result:
----------------
test pass
Actual result:
--------------
test fail
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61667&edit=1