Tolerate output spew generated by the readline library on some machines
It seems that on some machine configurations the readline library has the bad idea of spewing some control characters to stdout. This causes failures in any test that is reading from the command line, which currently only happens in debugger tests. Possibly this behavior shows up on the continuous build machines, so we'll make the expected output provide for this variation, just in case.
Esse commit está contido em:
@@ -1,5 +1,5 @@
|
||||
Program %s/break1.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
run
|
||||
%Srun
|
||||
break1.php loaded
|
||||
Program %s/break1.php exited normally.
|
||||
break break1.php:7
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/break2.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break quick/debugger/break2.php:7
|
||||
%Sbreak quick/debugger/break2.php:7
|
||||
Breakpoint 1 set on line 7 of quick/debugger/break2.php
|
||||
But wont break until file quick/debugger/break2.php has been loaded.
|
||||
break foo2()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/break3.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
continue
|
||||
%Scontinue
|
||||
break3.php loaded
|
||||
Program %s/break3.php exited normally.
|
||||
break \TestNs\foo()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/break4.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break :fb:my:thing::doIt()
|
||||
%Sbreak :fb:my:thing::doIt()
|
||||
Breakpoint 1 set upon entering xhp_fb__my__thing::doIt()
|
||||
But wont break until class xhp_fb__my__thing has been loaded.
|
||||
continue
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/error_bad_cmd_type_receive.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break error_bad_cmd_type_receive.php:3
|
||||
%Sbreak error_bad_cmd_type_receive.php:3
|
||||
Breakpoint 1 set on line 3 of error_bad_cmd_type_receive.php
|
||||
But wont break until file error_bad_cmd_type_receive.php has been loaded.
|
||||
run
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/error_bad_cmd_type_send.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break error_bad_cmd_type_send.php:3
|
||||
%Sbreak error_bad_cmd_type_send.php:3
|
||||
Breakpoint 1 set on line 3 of error_bad_cmd_type_send.php
|
||||
But wont break until file error_bad_cmd_type_send.php has been loaded.
|
||||
run
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/error_short_cmd_receive.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break error_short_cmd_receive.php:3
|
||||
%Sbreak error_short_cmd_receive.php:3
|
||||
Breakpoint 1 set on line 3 of error_short_cmd_receive.php
|
||||
But wont break until file error_short_cmd_receive.php has been loaded.
|
||||
run
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/error_short_cmd_send.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break error_short_cmd_send.php:3
|
||||
%Sbreak error_short_cmd_send.php:3
|
||||
Breakpoint 1 set on line 3 of error_short_cmd_send.php
|
||||
But wont break until file error_short_cmd_send.php has been loaded.
|
||||
run
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/exception1.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
exception MyException
|
||||
%Sexception MyException
|
||||
Breakpoint 1 set right before throwing MyException
|
||||
But note that class MyException has yet been loaded.
|
||||
break list
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/flow_excep.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
break main()
|
||||
%Sbreak main()
|
||||
Breakpoint 1 set upon entering main()
|
||||
But wont break until function main has been loaded.
|
||||
run
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/flow_gen_excep.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
run
|
||||
%Srun
|
||||
int(8)
|
||||
Caught Exception given to continuation 8 in genFoo()
|
||||
int(4)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Program %s/flow_small.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
||||
set SmallStep on
|
||||
%Sset SmallStep on
|
||||
SmallStep(ss) set to on.
|
||||
|
||||
break cls::pub()
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário