Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Will using --force to install Net::SSH::Perl cause any issues?

by sundialsvc4 (Monsignor)
on Feb 04, 2014 at 15:37 UTC ( #1073423=note: print w/ replies, xml ) Need Help??


in reply to Will using --force to install Net::SSH::Perl cause any issues?

My instinct suggests that this is in fact “a poorly-written test,” which if so ought to be reported as a possible bug/issue in that package.

The relevant piece of code appears to be this:

t/03-packet.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
and, in order to really find out what is going on, you will need to locate that .tt file (grep is your friend ...) and eyeball it to see what the test is trying to do and whether it actually matters.   Why is it calling wstat?   What does 0xff00 mean, and what is the test actually testing-for?   And so on.

Maybe it does matter, maybe it doesn’t.   (The test result was called “dubious ...”)   If you conclude that it is an inappropriate or incorrect test, and since this is apparently the only test that failed, the use of --force might be appropriate as a workaround.   (And should be reported as a bug, tagged to your particular environment.)

You can also look at the CPANTS environment-test results, which are accessible from the CPAN page, to determine if this issue is known to exist on your particular operating-system and version.   Although authors may not be able to “test their code everywhere,” that basically is what CPANTS does.


Comment on Re: Will using --force to install Net::SSH::Perl cause any issues?
Download Code
Re^2: Will using --force to install Net::SSH::Perl cause any issues?
by marto (Chancellor) on Feb 04, 2014 at 15:49 UTC

    "The relevant piece of code appears to be this:"

    This may shock you, this is not code.

    "locate that .tt file (grep is your friend ...)"

    Did you try this? There clearly are no .tt files in this distribution.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1073423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-08-30 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls