Skip Menu |

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 49321
Status: rejected
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

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



Subject: ps on Solaris does not know vsize
With perl-5.8.8 on Solaris 10 x86, the test t/memleak_bad_handshake.t reports this problem: ps: unknown output format: -o vsize usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ] [ -u userlist ] [ -U userlist ] [ -G grouplist ] [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] 'format' is one or more of: user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid f s c lwp nlwp psr tty addr wchan fname comm args projid project pset Changing 'vsize' to 'vsz' in t/memleak_bad_handshake.t fixes this problem on Solaris. But instead of adding a lot of ifs on $^O, why not use Proc::ProcessTable and skip the test if this module is not there? Cheers, Marek
Hi, thanks for your report. I've fixed the issue in 1.30_2 by redirecting the error output to /dev/null. In my opinion it is not necessary, that the test runs on all platforms, but it should run on some (the problem it tests should not depend on the platform). Using Proc::ProcessTable has it's own problems. First that would mean that I would depend on a non-CORE module just for a single test. Then Proc::ProcessTable just gives me the available fields, I still have to decide which field is the right one for the specific platform. So on Solaris the test should now be skipped like before, but w/o writing stuff to stderr. Regards, Steffen On Di. 01. Sep. 2009, 02:27:45, MAREKR wrote: Show quoted text
> With perl-5.8.8 on Solaris 10 x86, the test t/memleak_bad_handshake.t > reports this problem: > > ps: unknown output format: -o vsize > usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ] > [ -u userlist ] [ -U userlist ] [ -G grouplist ] > [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] > 'format' is one or more of: > user ruser group rgroup uid ruid gid rgid pid ppid pgid sid > taskid ctid > pri opri pcpu pmem vsz rss osz nice class time etime stime zone > zoneid > f s c lwp nlwp psr tty addr wchan fname comm args projid project > pset > > Changing 'vsize' to 'vsz' in t/memleak_bad_handshake.t fixes this > problem on Solaris. But instead of adding a lot of ifs on $^O, why not > use Proc::ProcessTable and skip the test if this module is not there? > > Cheers, > > Marek