pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38434: Perl 5.8.8nb fails test t/io/getppid.t on a solaris zone



>Number:         38434
>Category:       pkg
>Synopsis:       Perl 5.8.8nb fails test t/io/getppid.t on a solaris zone
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 15 10:10:00 +0000 2008
>Originator:     Michael C. Vergallen
>Release:        pkgsrc current
>Organization:
Michael C. Vergallen
>Environment:
SunOS test.vergallen.telenet.be 5.11 snv_85 sun4u sparc SUNW,Ultra-Enterprise
>Description:
The io/getppid.t test fails under a solaris zone. This is known by sun as being 
the case it is documented in the 2008-April.txt.gz file available from the net 
when searching for OpenSolaris perl 5.8.8. The fix is has been downloaded from 
www.opensolaris.org. but as this fix is difficult to locate I have included it 
below.

>How-To-Repeat:
Run bmake test on a solaris zone.

>Fix:
--- t/io/getppid.t.orig Tue Apr 15 11:08:51 2008
+++ t/io/getppid.t      Tue Apr 15 11:12:04 2008
@@ -47,7 +47,7 @@
        my $ppid2 = getppid();
        print $w "not " if $ppid1 == $ppid2;
        print $w "ok 2 # ppid2=$ppid2, ppid1!=ppid2\n";
-       print $w "not " if $ppid2 != 1;
+       print $w "# In zone this will fail : not \n" if $ppid2 != 1;    
        print $w "ok 3 # ppid2=1\n";
     }
     exit 0;



Home | Main Index | Thread Index | Old Index