In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/aa0aae5728542a34889d86fbfbffcab63f40a404?hp=c990774177bcba9a4a8fa785c2d91b1699c6182d>

- Log -----------------------------------------------------------------
commit aa0aae5728542a34889d86fbfbffcab63f40a404
Author: Father Chrysostomos <[email protected]>
Date:   Fri Sep 24 00:03:23 2010 -0700

    Oops. I broke sigtrap.t’s test output
-----------------------------------------------------------------------

Summary of changes:
 lib/sigtrap.t |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/sigtrap.t b/lib/sigtrap.t
index 13775f7..7e8ddef 100644
--- a/lib/sigtrap.t
+++ b/lib/sigtrap.t
@@ -61,8 +61,10 @@ my $out = tie *STDOUT, 'TieOut';
 $SIG{FAKE} = 'DEFAULT';
 $sigtrap::Verbose = 1;
 sigtrap->import('any', 'FAKE');
+my $read = $out->read;
+untie *STDOUT;
 is( $SIG{FAKE}, \&sigtrap::handler_traceback, 'should set default handler' );
-like( $out->read, qr/^Installing handler/, 'does it talk with $Verbose set?' );
+like( $read, qr/^Installing handler/, 'does it talk with $Verbose set?' );
 
 # handler_die croaks with first argument
 eval { sigtrap::handler_die('FAKE') };

--
Perl5 Master Repository

Reply via email to