Bug #61813 [Com]: ext\standard\tests\strings\strrchr_variation5.phpt fails

From: Date: Mon, 23 Apr 2012 15:38:55 +0000
Subject: Bug #61813 [Com]: ext\standard\tests\strings\strrchr_variation5.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169897@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61813&edit=1

 ID:                 61813
 Comment by:         ab@php.net
 Reported by:        ab@php.net
 Summary:            ext\standard\tests\strings\strrchr_variation5.phpt
                     fails
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   windows
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

the patch is wrong, please see bug 61827 for further infos


Previous Comments:
------------------------------------------------------------------------
[2012-04-23 08:09:25] ab@php.net

The windows terminal just turns '\e' into 'e'. The test was duplicated and
adopted for windows.

------------------------------------------------------------------------
[2012-04-23 08:07:47] ab@php.net

The following patch has been added/updated:

Patch Name: 61813.diff
Revision:   1335168467
URL:        https://bugs.php.net/patch-display.php?bug=61813&patch=61813.diff&revision=1335168467

------------------------------------------------------------------------
[2012-04-22 11:45:48] ab@php.net

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

003+ escape \seque
003- ^[scape \seque
008+ escape \seque
008- ^[scape \seque
013+ escape \seque
013- ^[scape \seque

Currently this fails only on the ofissial 5.4 windows snaps. However it fails on my 5.3 and 5.4
custom builds, which sounds more logic to me. The reason for the fail is most likely that \e is used
as an escape character on windows. Going through proc_open and grabbing the test out hoses the 
\e's .

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

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


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



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


Thread (5 messages)

« previous php.bugs (#169897) next »