Skip Menu |

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

Report information
The Basics
Id: 71108
Status: new
Priority: 0/
Queue: IO-Tail

People
Owner: Nobody in particular
Requestors: chip [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: (no value)



Subject: Test failure: sysread vs. poll
Compiling with blead, the below failures occur. First, can you explain or fix the timing-related ones? Second, can you confirm that sysread vs. poll is not an important distinction? $ make test PERL_DL_NONLAZY=1 /opt/perl_chip_magicflags1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 # Testing IO::Tail 0.01, Perl 5.015001, /opt/perl_chip_magicflags1/bin/perl t/00-load.t ....... ok t/01-empty.t ...... ok t/02-pipe.t ....... 34/42 # Failed test 'raise: Bad file descriptor' # at t/02-pipe.t line 181. # 'poll: Bad file descriptor at /Users/chip/.cpanm/work/1316560737.28372/IO- Tail-0.01/blib/lib/IO/Tail.pm line 419. # ' # doesn't match '(?^:^sysread: )' # Looks like you failed 1 test of 42. t/02-pipe.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/42 subtests t/03-file.t ....... ok t/04-timeout.t .... 4/13 # Failed test 'return from loop (elapsed:1.82<1.8)' # at t/04-timeout.t line 35. # '1.82' # < # '1.8' # Failed test 'tiemouted at 1.82 (<1.8)' # at t/04-timeout.t line 40. # '1.82' # < # '1.8' # Looks like you failed 2 tests of 13. t/04-timeout.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/13 subtests t/05-interval.t ... ok t/06-loop.t ....... ok t/97_podspell.t ... skipped: Test::Spelling is not installed. t/boilerplate.t ... ok t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.t ........... skipped: Test::Pod 1.14 required for testing POD Test Summary Report ------------------- t/02-pipe.t (Wstat: 256 Tests: 42 Failed: 1) Failed test: 42 Non-zero exit status: 1 t/04-timeout.t (Wstat: 512 Tests: 13 Failed: 2) Failed tests: 5, 8 Non-zero exit status: 2 Files=11, Tests=111, 14 wallclock secs ( 0.10 usr 0.02 sys + 0.62 cusr 0.05 csys = 0.79 CPU) Result: FAIL Failed 2/11 test programs. 3/111 subtests failed.
From: chip [...] pobox.com
I should add that this is blead plus an experimental patch "magicflags1", but my patch had nothing to do with timeouts, nor with read/poll.