Bug #61990 [Opn->Csd]: ext\spl\examples\tests\dualiterator_001.phpt fails

From: Date: Fri, 11 May 2012 12:42:20 +0000
Subject: Bug #61990 [Opn->Csd]: ext\spl\examples\tests\dualiterator_001.phpt fails
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-170376@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61990&edit=1

 ID:                 61990
 Updated by:         ab@php.net
 Reported by:        ab@php.net
 Summary:            ext\spl\examples\tests\dualiterator_001.phpt fails
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2012-05-11 12:40:44] ab@php.net

Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=81ba6b14c7b1b934f4d3e2896f861a42b07aa838
Log: Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails

------------------------------------------------------------------------
[2012-05-10 11:59:10] ab@php.net

Description:
------------
Test diff:

Warning:
include(C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests/../dualiterator.inc):
failed to open stream: No such file or directory in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 5

Warning: include(): Failed opening
'C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests/../dualiterator.inc'
for inclusion (include_path='.;C:\php\pear') in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 5

Fatal error: Class 'DualIterator' not found in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 12

The explanation is simple - the test is trying to include a class from the examples folder, but the
examples folder contents is not copied along with the test pack.

Expected result:
----------------
test pass

Actual result:
--------------
test fail


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61990&edit=1


Thread (2 messages)

« previous php.bugs (#170376) next »