Integrate version.pm-0.77 into bleadperl
[p5sagit/p5-mst-13.2.git] / lib / perl5db.t
old mode 100755 (executable)
new mode 100644 (file)
index d5747cf..bb098a1
@@ -89,17 +89,17 @@ like($contents, qr/sub factorial/,
     like($output, qr/Undefined symbols 0/, 'there are no undefined values in the symbol table');
 }
 
-{
+SKIP: {
     if ( $Config{usethreads} ) {
         skip('This perl has threads, skipping non-threaded debugger tests');
     } else {
         my $error = 'This Perl not built to support threads';
-        my $output = runperl( switches => [ '-dt' ] );
+        my $output = runperl( switches => [ '-dt' ], stderr => 1 );
         like($output, qr/$error/, 'Perl debugger correctly complains that it was not built with threads');
     }
 
 }
-{
+SKIP: {
     if ( $Config{usethreads} ) {
         local $ENV{PERLDB_OPTS} = "ReadLine=0 NonStop=1";
         my $output = runperl(switches => [ '-dt' ], progfile => '../lib/perl5db/t/symbol-table-bug');