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
From:
Mark Suter
Date:
April 27, 2006 13:38
Subject:
[perl #39010] Test t/op/getppid.t fails in a Solaris Zone [SEC=UNCLASSIFIED]
Message ID:
rt-3.0.11-39010-132764.16.4073378531652@perl.org
# New Ticket Created by  Mark Suter 
# Please include the string:  [perl #39010]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39010 >


This is a bug report for perl from mark.suter@defence.gov.au,
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 )
    1..3
    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 mark.suter@defence.gov.au
Visit ComLaw via http://j6.zwit.org/ 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.

-----------------------------------------------------------------
---
Flags:
    category=install
    severity=medium
---
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:
  Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris
    uname='sunos dckrzu023 5.10 generic_118822-26 sun4u sparc sunw,sun-fire '
    config_args='-de'
    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
  Compiler:
    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',
    optimize='-O',
    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/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  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:
    /usr/local/lib/perl5/5.8.8/sun4-solaris
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.8.8:
    HOME=XXXXXXXXX
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/opt/sfw/bin:/opt/sfw/sbin:/usr/ccs/bin:/usr/local/bin:/usr/xpg4/bin/:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About