In perl.git, the branch smoke-me/tonyc/debugger-tests has been created <http://perl5.git.perl.org/perl.git/commitdiff/7b58d7c4e3ad14ac3c60f1ea5d1032205a086e71?hp=0000000000000000000000000000000000000000>
at 7b58d7c4e3ad14ac3c60f1ea5d1032205a086e71 (commit) - Log ----------------------------------------------------------------- commit 7b58d7c4e3ad14ac3c60f1ea5d1032205a086e71 Author: Tony Cook <t...@develop-help.com> Date: Tue Jan 14 09:24:40 2014 +1100 [perl #118817] avoid using 2 handles to write to the debug output Previously the tests were run with the following config: NonStop=0 TTY=db.out LineInfo=db.out This meant that the debugger would write the prologue, command prompts and their results and the epilogue to one handle, and any line trace information to the second handle. Since those handles didn't share file a file position, the line trace info would overwrite the prologue, and the epilogue would overwrite part of the line trace info. When TTY=vt100 on Redhat systems, this made the epilogue just long enough to overwrite the line trace data that a test matched against, causing the test to fail. To fix this, I avoided setting LineInfo: NonStop=0 TTY=db.out and since LineInfo defaults to using the TTY handle, both type of content are written to db.out *without* overwriting each other. Unfortunately this broke some other tests, since now the command prompts which were overwritten by line trace information are mixed in with the line traces - I've modified the tests that failed to account for the included command lines. ----------------------------------------------------------------------- -- Perl5 Master Repository