This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make the new perl5db.t taint test work on VMS.
authorCraig A. Berry <craigberry@mac.com>
Sat, 9 Oct 2010 23:32:41 +0000 (18:32 -0500)
committerCraig A. Berry <craigberry@mac.com>
Sat, 9 Oct 2010 23:32:41 +0000 (18:32 -0500)
Follow-up to 07004ebbe530fe5ce1c67e63c0b8e1c0aa77b3b9.

lib/perl5db.t

index b2f7266..4419136 100644 (file)
@@ -173,6 +173,7 @@ SKIP: {
     local $ENV{PERLDB_OPTS} = "ReadLine=0 NonStop=1";
     my $output = runperl(switches => [ '-d', '-T' ], stderr => 1,
                        progfile => '../lib/perl5db/t/taint');
+    chomp $output if $^O eq 'VMS'; # newline guaranteed at EOF
     is($output, '[$^X][done]', "taint");
 }