develooper Front page | perl.perl5.porters | Postings from October 2009

Re: [perl #69929] lib/autodie/t/recv fails without TTY

Thread Previous
From:
Rafael Garcia-Suarez
Date:
October 22, 2009 13:59
Subject:
Re: [perl #69929] lib/autodie/t/recv fails without TTY
Message ID:
b77c1dce0910221359o3b2abd95o2994051984abb522@mail.gmail.com
2009/10/20 Virtual Machine Provisioning Demo <perlbug-followup@perl.org>:
> # New Ticket Created by  Virtual Machine Provisioning Demo
> # Please include the string:  [perl #69929]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69929 >
>
>
> lib/autodie/t/recv fails without TTY
>
> This test assumes that STDIN is a TTY, and works fine as such.
>
> Failed test 'recv dies on returning undef'
> #   at ../lib/autodie/t/recv.t line 45.
> Use of uninitialized value $obj_name in concatenation (.) or string at
> ../lib/Test/More.pm line 599.
> Use of uninitialized value $obj_name in concatenation (.) or string at
> ../lib/Test/More.pm line 618.
> #   Failed test ' isa autodie::exception'
> #   at ../lib/autodie/t/recv.t line 46.
> #      isn't a class or reference
> # Looks like you failed 2 tests of 8.
>
> However remote compilation via SSH does not meet that criteria, so this fails:
> ssh user@box "cd perl ; make test" </dev/null
>
> And this hangs indefinitely:
> ssh user@box "cd perl ; make test"

That might be only a documentation (INSTALL document) issue. We have a
test_notty test target. runtests is supposed to detect that no tty is
present. However I can't reproduce this bug on my machine...

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About