Subject: | t/20-connection.t fails with "uninitialized value $line" and "not a mpd server" |
t/20-connection.t ..
1..20
ok 1 - The object isa Audio::MPD
ok 2 - error during socket creation
ok 3 # skip need some sendmail server running
Use of uninitialized value $line in scalar chomp at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 107.
Use of uninitialized value $line in pattern match (m//) at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 108.
Use of uninitialized value $line in concatenation (.) or string at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 108.
Not a mpd server - welcome string was: []
Show quoted text
Failed 17/20 subtests
(less 1 skipped subtest: 2 okay)
Test Summary Report
-------------------
t/20-connection.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 20 tests but ran 3.
Files=1, Tests=3, 4 wallclock secs ( 0.07 usr 0.00 sys + 1.30 cusr 0.11 csys = 1.48 CPU)
Result: FAIL
1..20
ok 1 - The object isa Audio::MPD
ok 2 - error during socket creation
ok 3 # skip need some sendmail server running
Use of uninitialized value $line in scalar chomp at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 107.
Use of uninitialized value $line in pattern match (m//) at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 108.
Use of uninitialized value $line in concatenation (.) or string at /home/kent/.cpanm/work/1323153091.802713/Audio-MPD-1.113280/blib/lib/Audio/MPD.pm line 108.
Not a mpd server - welcome string was: []
Show quoted text
# Looks like you planned 20 tests but ran 3.
Dubious, test returned 255 (wstat 65280, 0xff00)Failed 17/20 subtests
(less 1 skipped subtest: 2 okay)
Test Summary Report
-------------------
t/20-connection.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 20 tests but ran 3.
Files=1, Tests=3, 4 wallclock secs ( 0.07 usr 0.00 sys + 1.30 cusr 0.11 csys = 1.48 CPU)
Result: FAIL
Context:
t/000-report-versions-tiny.t .. #
Show quoted text
#
# perl: v5.14.2 (wanted 5.010) on linux from /usr/bin/perl5.14.2
#
# Audio::MPD::Common::Item => 1.110550 (want any version)
# Audio::MPD::Common::Output => 1.110550 (want any version)
# Audio::MPD::Common::Stats => 1.110550 (want any version)
# Audio::MPD::Common::Status => 1.110550 (want any version)
# DB_File => 1.824 (want any version)
# Encode => 2.44 (want any version)
# File::Find => 1.19 (want any version)
# File::Temp => 0.22 (want any version)
# Getopt::Euclid => 0.3.0 (want any version)
# IO::Socket::IP => 0.07 (want any version)
# Module::Build => 0.38 (want 0.3601)
# Moose => 2.0401 (want any version)
# Moose::Util::TypeConstraints => 2.0401 (want any version)
# MooseX::Has::Sugar => 0.05070419 (want any version)
# MooseX::SemiAffordanceAccessor => 0.09 (want any version)
# Proc::Daemon => 0.14 (want any version)
# Test::Corpus::Audio::MPD => 1.113282 (want 1.113282)
# Test::More => 0.98 (want 0.88)
# Time::HiRes => 1.9724 (want any version)
# strict => 1.04 (want any version)
# warnings => 1.12 (want any version)
# perl: v5.14.2 (wanted 5.010) on linux from /usr/bin/perl5.14.2
#
# Audio::MPD::Common::Item => 1.110550 (want any version)
# Audio::MPD::Common::Output => 1.110550 (want any version)
# Audio::MPD::Common::Stats => 1.110550 (want any version)
# Audio::MPD::Common::Status => 1.110550 (want any version)
# DB_File => 1.824 (want any version)
# Encode => 2.44 (want any version)
# File::Find => 1.19 (want any version)
# File::Temp => 0.22 (want any version)
# Getopt::Euclid => 0.3.0 (want any version)
# IO::Socket::IP => 0.07 (want any version)
# Module::Build => 0.38 (want 0.3601)
# Moose => 2.0401 (want any version)
# Moose::Util::TypeConstraints => 2.0401 (want any version)
# MooseX::Has::Sugar => 0.05070419 (want any version)
# MooseX::SemiAffordanceAccessor => 0.09 (want any version)
# Proc::Daemon => 0.14 (want any version)
# Test::Corpus::Audio::MPD => 1.113282 (want 1.113282)
# Test::More => 0.98 (want 0.88)
# Time::HiRes => 1.9724 (want any version)
# strict => 1.04 (want any version)
# warnings => 1.12 (want any version)