summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-02-26 11:00:40 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-02-26 11:00:40 +0100
commitac62bc6fc9af2f4dca6b1ec668aab128962700d8 (patch)
tree91cfe735123652647b295a21e99fb9b42b8852bf /t
parent6c0ec79a2e9c445ac9999df23a0fa5e23183bb7e (diff)
downloadperl-ac62bc6fc9af2f4dca6b1ec668aab128962700d8.tar.gz
Remove spurious TODO indicators
By definition, the first test in a series for testing a leak should always succeed
Diffstat (limited to 't')
-rw-r--r--t/io/perlio_leaks.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/io/perlio_leaks.t b/t/io/perlio_leaks.t
index ad76c39e9e..7bd034658a 100644
--- a/t/io/perlio_leaks.t
+++ b/t/io/perlio_leaks.t
@@ -11,11 +11,11 @@ use Test::More 'no_plan';
# :crlf -> ok
TODO: {
- local $TODO = "[perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio";
foreach my $layer(qw(:unix :stdio :perlio :crlf)){
my $base_fd = do{ open my $in, '<', $0 or die $!; fileno $in };
for(1 .. 3){
+ local $TODO = "[perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio" if $_ > 1;
open my $fh, "<$layer", $0 or die $!;
is fileno($fh), $base_fd, $layer;