develooper Front page | perl.perl5.porters | Postings from April 2006

[perl #39010] Test t/op/getppid.t fails in a Solaris Zone [SEC=UNCLASSIFIED]

Thread Previous | Thread Next
Mark Suter
April 27, 2006 13:38
[perl #39010] Test t/op/getppid.t fails in a Solaris Zone [SEC=UNCLASSIFIED]
Message ID:
# New Ticket Created by  Mark Suter 
# Please include the string:  [perl #39010]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.35 running under perl v5.8.8.


The test t/op/getppid.t fails within a Solaris Zone because the test
assumes an orphan's ppid should be 1 aka init.  Within a Zone, the ppid
will be that of the global zsched process, e.g., 25940 in this example:

    $ ( export LD_LIBRARY_PATH=`pwd`; cd t; ./perl op/getppid.t )
    ok 1 # ppid1=3132
    ok 2 # ppid2=25940, ppid1!=ppid2
    not ok 3 # ppid2=1

Mr Mark Suter, Unix System Administrator, Defence Computing Bureau
Contractor to Defence, 02 626 61327 or
Visit ComLaw via for the Section 70 used below.

IMPORTANT:  This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
Crimes Act 1914.  If you have received this email in error, you are
requested to contact the sender and delete the email.

Site configuration information for perl v5.8.8:

Configured by root at Thu Apr 27 12:06:43 EST 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    osname=solaris, osvers=2.10, archname=sun4-solaris
    uname='sunos dckrzu023 5.10 generic_118822-26 sun4u sparc sunw,sun-fire '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='3.3.2', gccosandvers='solaris2.10'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/local/lib '
    libpth=/usr/local/lib /opt/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'

Locally applied patches:

@INC for perl v5.8.8:

Environment for perl v5.8.8:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About