Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 85094
Status: rejected
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: steve [...] kelem.net
Cc:
AdminCc:

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



Subject: tests failing in Net-OpenSSH
Date: Mon, 06 May 2013 09:39:07 -0700
To: bug-Net-OpenSSH [...] rt.cpan.org
From: Steve Kelem <steve [...] kelem.net>
Hi. I'm trying to install Net-OpenSSH-0.60 on Ubuntu 13.04 x86-64.

I builds okay, but the tests fail. Any help you can give would be appreciated.

Thanks,
Steve Kelem

% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_run.t ... #
# SSH client found: OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012.
# Trying to connect to localhost, timeout is 15s.
t/1_run.t ... 1/46 /local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf/test.dat: File exists.
t/1_run.t ... 8/46
#   Failed test at t/1_run.t line 115.

#   Failed test at t/1_run.t line 143.
#          got: 'You are in /local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf
# foo 1
# foo 2
# foo 3
# foo 4
# foo 5
# foo 6
# foo 7
# foo 8
# foo 9
# foo 10
# '
#     expected: 'foo 1
# foo 2
# foo 3
# foo 4
# foo 5
# foo 6
# foo 7
# foo 8
# foo 9
# foo 10
# '
# error: 0
t/1_run.t ... 20/46
#   Failed test at t/1_run.t line 151.
#          got: '2: File exists.
# '
#     expected: 'foo 1
# foo 2
# foo 3
# foo 4
# foo 5
# foo 6
# foo 7
# foo 8
# foo 9
# foo 10
# '

#   Failed test at t/1_run.t line 154.
#          got: '2: File exists.
# '
#     expected: 'foo 1
# foo 2
# foo 3
# foo 4
# foo 5
# foo 6
# foo 7
# foo 8
# foo 9
# foo 10
# '
Unmatched '.
line1: Command not found.
Unmatched '.

#   Failed test 'quote_args with new lines'
#   at t/1_run.t line 173.
#          got: ''
#     expected: '#@$#$%&(@#_)erkljgfd'' 345345' { { / // ///foo
# line1
# line2'
t/1_run.t ... 46/46 # Looks like you failed 5 tests of 46.
t/1_run.t ... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/46 subtests
t/2_pods.t .. skipped: Only the author needs to check that POD docs are right

Test Summary Report
-------------------
t/1_run.t (Wstat: 1280 Tests: 46 Failed: 5)
  Failed tests:  8, 19, 21-22, 27
  Non-zero exit status: 5
Files=2, Tests=46,  5 wallclock secs ( 0.03 usr  0.00 sys +  0.14 cusr  0.07 csys =  0.24 CPU)
Result: FAIL
Failed 1/2 test programs. 5/46 subtests failed.
make: *** [test_dynamic] Error 255

Subject: Re: [rt.cpan.org #85094] tests failing in Net-OpenSSH
Date: Mon, 6 May 2013 10:20:12 -0700 (PDT)
To: "bug-Net-OpenSSH [...] rt.cpan.org" <bug-Net-OpenSSH [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
----- Original Message -----
> From: Steve Kelem via RT <bug-Net-OpenSSH@rt.cpan.org> > To: > Cc: > Sent: Monday, May 6, 2013 6:39 PM > Subject: [rt.cpan.org #85094] tests failing in Net-OpenSSH > > Mon May 06 12:39:25 2013: Request 85094 was acted upon. > Transaction: Ticket created by steve@kelem.net >       Queue: Net-OpenSSH >     Subject: tests failing in Net-OpenSSH >   Broken in: (no value) >     Severity: (no value) >       Owner: Nobody >   Requestors: steve@kelem.net >       Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85094 > > > > Hi. I'm trying to install Net-OpenSSH-0.60 on Ubuntu 13.04 x86-64. > > I builds okay, but the tests fail. Any help you can give would be appreciated.
It seems you are using a non-standard (POSIX) shell or that you have customized it too much for Net::OpenSSH.
> > Thanks, > Steve Kelem > > % make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" > "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/1_run.t ... # > # SSH client found: OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012. > # Trying to connect to localhost, timeout is 15s. > t/1_run.t ... 1/46 /local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf/test.dat: > File exists.
Here, the command "cat > /local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf/test.dat" is unexpectedly failing because "/local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf/test.dat" already exists
> t/1_run.t ... 8/46 > # Failed test at t/1_run.t line 115. > > # Failed test at t/1_run.t line 143. > # got: 'You are in /local/var/.cpan/build/Net-OpenSSH-0.60-t6vBhf
Here you have probably aliased the 'cd' command to also print the $PWD. Net::OpenSSH do not expect that. Changing the behavior of common programs as 'cd' is not recommended. It breaks the expected POSIX semantics and may interfere with any other scripts or programs using them. In any case, the module seems to be working properly on your machine, you may ignore the failing tests and force its installation safely.
No feedback and so, rejecting.