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

[perl #117621] Fail in dist/IO/t/cachepropagate-unix.t with perl-5.17.10

Thread Previous
From:
Francois PERRAD
Date:
April 16, 2013 20:10
Subject:
[perl #117621] Fail in dist/IO/t/cachepropagate-unix.t with perl-5.17.10
Message ID:
rt-3.6.HEAD-28177-1366027364-872.117621-75-0@perl.org
# New Ticket Created by  Francois PERRAD 
# Please include the string:  [perl #117621]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117621 >


This is a bug report for perl from francois.perrad@gadz.org,
generated with the help of perlbug 1.39 running under perl 5.17.10.


-----------------------------------------------------------------
[Please describe your issue here]

a test fails in dist/IO/t/cachepropagate-unix.t with perl-5.17.10
(built by perlbrew)

$ ./perl dist/IO/t/cachepropagate-unix.t
1..15
ok 1 - stream socket created
ok 2 - protocol defined
ok 3 - domain defined
ok 4 - type defined
ok 5 - spawned a child
ok 6 - domain match
ok 7 - protocol match
ok 8 - type match
ok 9 - datagram socket created
ok 10 - protocol defined
ok 11 - domain defined
ok 12 - type defined
ok 13 - domain match
not ok 14 - protocol match
#   Failed test 'protocol match'
#   at dist/IO/t/cachepropagate-unix.t line 85.
#          got: undef
#     expected: '0'
ok 15 - type match
# Looks like you failed 1 test of 15.

I think that the problem comes from the specific kernel of my box
(http://www.powerdeveloper.org/platforms/efikamx/linux).

The attached patch fixes the test.

Fran├žois

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl 5.17.10:

Configured by fperrad at Sun Apr 14 21:14:51 CEST 2013.

Summary of my perl5 (revision 5 version 17 subversion 10) configuration:

  Platform:
    osname=linux, osvers=2.6.31.14.27-efikamx, archname=armv7l-linux
    uname='linux efikamx 2.6.31.14.27-efikamx #2 tue jul 31 17:16:25
edt 2012 armv7l gnulinux '
    config_args='-de
-Dprefix=/home/fperrad/perl5/perlbrew/perls/perl-5.17.10 -Dusedevel
-Aeval:scriptdir=/home/fperrad/perl5/perlbrew/perls/perl-5.17.10/bin'
    hint=recommended, useposix=true, d_sigaction=define
    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='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.6.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/arm-linux-gnueabihf /lib
/usr/lib/arm-linux-gnueabihf /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.17.10:
    /home/fperrad/perl5/perlbrew/perls/perl-5.17.10/lib/site_perl/5.17.10/armv7l-linux
    /home/fperrad/perl5/perlbrew/perls/perl-5.17.10/lib/site_perl/5.17.10
    /home/fperrad/perl5/perlbrew/perls/perl-5.17.10/lib/5.17.10/armv7l-linux
    /home/fperrad/perl5/perlbrew/perls/perl-5.17.10/lib/5.17.10
    .

---
Environment for perl 5.17.10:
    HOME=/home/fperrad
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/fperrad/perl5/perlbrew/bin:/home/fperrad/perl5/perlbrew/perls/perl-5.17.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERLBREW_BASHRC_VERSION=0.62
    PERLBREW_HOME=/home/fperrad/.perlbrew
    PERLBREW_MANPATH=/home/fperrad/perl5/perlbrew/perls/perl-5.17.10/man
    PERLBREW_PATH=/home/fperrad/perl5/perlbrew/bin:/home/fperrad/perl5/perlbrew/perls/perl-5.17.10/bin
    PERLBREW_PERL=perl-5.17.10
    PERLBREW_ROOT=/home/fperrad/perl5/perlbrew
    PERLBREW_VERSION=0.62
    PERL_BADLANG (unset)
    SHELL=/bin/bash

Thread Previous


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