This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix a test failure in perl5db.t when Term::ReadLine::Gnu is installed
authorNiko Tyni <ntyni@debian.org>
Sat, 27 Mar 2010 19:38:34 +0000 (21:38 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 15 Apr 2010 18:24:05 +0000 (20:24 +0200)
With Term::ReadLine::Gnu on @INC, the debugger output will include
terminal escape sequences even when empty otherwise. This makes
lib/perl5db.t test 7 ("proxy constant subroutines") fail.

Most of the other tests are already run with ReadLine support disabled, so
bring this one in line too.

lib/perl5db.t

index 59acd7a..3f68759 100644 (file)
@@ -143,7 +143,7 @@ SKIP: {
 {
     rc(
         qq|
-        &parse_options("NonStop=0 TTY=db.out LineInfo=db.out");
+        &parse_options("NonStop=0 ReadLine=0 TTY=db.out LineInfo=db.out");
         \n|,
 
         qq|