Skip Menu |

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

Report information
The Basics
Id: 85172
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-OpenSSH

People
Owner: salva [...] cpan.org
Requestors: mwatson [...] portjackson.net
Cc:
AdminCc:

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



Subject: Build fails in AIX
Hi, Tests fail on AIX ( 7.1 ) - AIX ps command does not support "-p" flag. - Socket permissions appear to be different? $:/home/root/.cpan/build/Net-OpenSSH-0.60-nhk66f > make test PERL_DL_NONLAZY=1 /usr/opt/perl5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_run.t ... # # SSH client found: OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011. # Trying to connect to localhost, timeout is 15s. root@localhost's password: t/1_run.t ... 1/46 # Failed test 'mux socket permissions' # at t/1_run.t line 92. # got: '511' # expected: '384' Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...] [-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist] [-@ [wparname] ] Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber] # Failed test at t/1_run.t line 114. Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...] [-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist] [-@ [wparname] ] Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber] t/1_run.t ... 23/46 # Looks like you failed 2 tests of 46. t/1_run.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/46 subtests (less 1 skipped subtest: 43 okay) t/2_pods.t .. skipped: Only the author needs to check that POD docs are right Test Summary Report ------------------- t/1_run.t (Wstat: 512 Tests: 46 Failed: 2) Failed tests: 2, 7 Non-zero exit status: 2 Files=2, Tests=46, 4 wallclock secs ( 0.02 usr 0.01 sys + 0.13 cusr 0.08 csys = 0.24 CPU) Result: FAIL Failed 1/2 test programs. 2/46 subtests failed. make: The error code from the last command is 255. Stop. $:/home/root/.cpan/build/Net-OpenSSH-0.60-nhk66f >
El Jue May 09 22:25:05 2013, http://ofork.blogspot.com.au/ escribió: Show quoted text
> Hi, > > Tests fail on AIX ( 7.1 ) > > - AIX ps command does not support "-p" flag.
I think it is the other way, the module is using "ps p" and it should use "ps -p" there. Show quoted text
> - Socket permissions appear to be different?
Yes, it seems AIX ignores permissions on sockets. I have uploaded version 1.61_03 to CPAN: https://metacpan.org/release/SALVA/Net-OpenSSH-0.61_03 Could you test it and tell me if it solves your problems?
No feedback. I am going to assume the patch works and close the ticket.