From: Rafael Garcia-Suarez Date: Wed, 15 Nov 2006 12:51:48 +0000 (+0000) Subject: Tweaks to the debugger test by Richard Foley, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd4eab350f31b452f88e849e0c9d1309692f544f;p=p5sagit%2Fp5-mst-13.2.git Tweaks to the debugger test by Richard Foley, plus fix auxiliary file path p4raw-id: //depot/perl@29280 --- diff --git a/lib/perl5db.t b/lib/perl5db.t index 5323f79..9c95a5b 100644 --- a/lib/perl5db.t +++ b/lib/perl5db.t @@ -27,23 +27,29 @@ sub rc { chmod 0644, ".perldb"; } +my $target = '../lib/perl5db/t/eval-line-bug'; + rc( qq| - &parse_options("NonStop=0 TTY=/dev/null LineInfo=db.out"); + &parse_options("NonStop=0 TTY=db.out LineInfo=db.out"); \n|, qq| sub afterinit { push(\@DB::typeahead, - "DB::print_lineinfo(\@{'main::_ [ '-d' ], progfile => '../lib/perl5db/eval-line-bug'); +runperl(switches => [ '-d' ], progfile => $target); my $contents; { @@ -53,12 +59,12 @@ my $contents; close(I); } -like($contents, qr/factorial/, +like($contents, qr/sub factorial/, 'The ${main::_