From: Tyler Riddle Date: Sat, 8 Dec 2012 03:10:00 +0000 (-0800) Subject: remove stderr redirect to null fh from watchdog_fatnode.t X-Git-Tag: v0.003001_01~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=f92f508c579dfe67998b89a39df624eddb380696 remove stderr redirect to null fh from watchdog_fatnode.t --- diff --git a/t/watchdog_fatnode.t b/t/watchdog_fatnode.t index 2b73ce6..0183c78 100644 --- a/t/watchdog_fatnode.t +++ b/t/watchdog_fatnode.t @@ -7,8 +7,6 @@ use Object::Remote::Connector::Local; $SIG{ALRM} = sub { die "alarm signal\n" }; -open(my $nullfh, '>', '/dev/null') or die "Could not open /dev/null: $!"; - my $fatnode_text = Object::Remote::Connector::Local->new(timeout => 1)->fatnode_text; #this simulates a node that has hung before it reaches @@ -17,7 +15,6 @@ my $fatnode_text = Object::Remote::Connector::Local->new(timeout => 1)->fatnode_ #if it's not handled right eval { no warnings 'once'; - local *STDOUT = $nullfh; $Object::Remote::FatNode::INHIBIT_RUN_NODE = 1; eval $fatnode_text;