Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-All CPAN distribution.

Report information
The Basics
Id: 7314
Status: resolved
Priority: 0/
Queue: IO-All

People
Owner: Nobody in particular
Requestors: da [...] coder.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.30
Fixed in: (no value)



Subject: fileno test fails silently on debian stable and testing
An IO-All-0.30 test fails on perl 5.6.1 on debian stable and testing: % make test [...] t/error1.............ok t/file_spec..........ok t/file_subclass......ok t/fileno.............ok 3/7# Looks like you planned 7 tests but only ran 3. # Looks like your test died just after 3. t/fileno.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-7 Failed 4/7 tests, 42.86% okay [...] % perl t/fileno 1..7 ok 1 ok 2 ok 3 # Looks like you planned 7 tests but only ran 3. # Looks like your test died just after 3. % perl -d t/fileno.t [...] 1..7 main::(t/fileno.t:8): is(io('-')->mode('<')->open->fileno, 0); DB<1> n ok 1 main::(t/fileno.t:9): is(io('-')->mode('>')->open->fileno, 1); DB<1> ok 2 main::(t/fileno.t:10): is(io('=')->fileno, 2); DB<1> ok 3 main::(t/fileno.t:12): is(io->stdin->fileno, 0); DB<1> s Spiffy::CODE(0x83bdee0)(/usr/local/share/perl/5.6.1/Spiffy.pm:218): 218: my $package = caller; DB<1> Spiffy::CODE(0x83bdee0)(/usr/local/share/perl/5.6.1/Spiffy.pm:219): 219: my $class = $class_map->{$package}{$name} 220: or die "No class for ${package}::$name"; DB<1> Spiffy::CODE(0x83bdee0)(/usr/local/share/perl/5.6.1/Spiffy.pm:221): 221: my $defaults = $options_map->{$package}{$name}; DB<1> Spiffy::CODE(0x83bdee0)(/usr/local/share/perl/5.6.1/Spiffy.pm:222): 222: $class->new(@$defaults, @_); DB<1> IO::All::new(lib/IO/All.pm:143): sub new {my $self = shift; DB<1> c error_check IO::All::error_check(lib/IO/All.pm:510): 510: sub error_check {my $self = shift; DB<2> s IO::All::error_check(lib/IO/All.pm:511): 511: return unless $self->io_handle->can('error'); DB<3> n IO::All::error_check(lib/IO/All.pm:512): 512: return unless $self->io_handle->error; DB<3> IO::All::error_check(lib/IO/All.pm:513): 513: $self->throw($!); DB<3> x $! 0 'Invalid argument' --- Let me know if I can provide any other info.
From: frag [...] ripco.net
I get almost exactly the same error: t/fileno.t gets through 3 tests then dies. However, this is on Redhat Advanced Server 2.1AS (Pensacola). It also runs perl 5.6.1. Following the same steps in the debugger, I get literally identical output and the same value for $!: 0 'Invalid argument'.
[guest - Fri Aug 13 15:48:42 2004]: Show quoted text
> > I get almost exactly the same error: t/fileno.t gets through 3 tests > then dies. However, this is on Redhat Advanced Server 2.1AS > (Pensacola). It also runs perl 5.6.1. > > Following the same steps in the debugger, I get literally identical > output and the same value for $!: 0 'Invalid argument'.
I also get exact the error described by the first person. I am Running debian woody with perl 5.61