Bug #61559 [PATCH]: Test Bug - ext/standard/tests/streams/bug61115-1

From: Date: Mon, 02 Apr 2012 23:24:13 +0000
Subject: Bug #61559 [PATCH]: Test Bug - ext/standard/tests/streams/bug61115-1
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-169169@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61559&edit=1

 ID:                 61559
 Patch added by:     mattficken@php.net
 Reported by:        mattficken@php.net
 Summary:            Test Bug - ext/standard/tests/streams/bug61115-1
 Status:             Closed
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows
 PHP Version:        5.4.0
 Assigned To:        shein
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug61115-1.patch.txt
Revision:   1333409053
URL:        https://bugs.php.net/patch-display.php?bug=61559&patch=bug61115-1.patch.txt&revision=1333409053


Previous Comments:
------------------------------------------------------------------------
[2012-03-29 23:35:17] shein@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.

Please, update, it should be fixed: http://git.php.net/?p=php-
src.git;a=blobdiff;f=ext/standard/tests/streams/bug61115-
1.phpt;h=573496edf0e2dbf0a77dc771f77c815098002a6f;hp=43c54b497423cfb7c21b0a2a4e8b
5e769d41956e;hb=e1352b04165142c945d1fc98c0bcd0b85c3f659d;hpb=55b1e612421c52ea0bb8
a3772095c5bbd62045db

------------------------------------------------------------------------
[2012-03-29 22:45:01] mattficken@php.net

Description:
------------
Looks like this is a test bug, with the fatal error message text being slightly different than
expected.

Might have to fork test into Windows and non-Windows tests.

Test Diff
001+ Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2147483647
bytes) in C:\php-sdk\0cf70b1\php-test-pack-5.4.1RC1-dev\ext\standard\tests\streams\bug61115-1.php on
line 5
001- Fatal error: Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes) in
%s on line %d

Test script:
---------------
see ext/standard/tests/streams/bug61115-1.phpt

Expected result:
----------------
Pass
--
Fatal error: Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes) in %s
on line %d

Actual result:
--------------
Fail
--
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2147483647 bytes)
in C:\php-sdk\0cf70b1\php-test-pack-5.4.1RC1-dev\ext\standard\tests\streams\bug61115-1.php on line 5


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



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


Thread (4 messages)

« previous php.bugs (#169169) next »