Bug#615963: libvendorlib-perl: tilde expansion tests failing
gregor herrmann
gregoa at debian.org
Sun Mar 6 18:50:42 UTC 2011
On Sun, 06 Mar 2011 18:46:59 +0100, gregor herrmann wrote:
> # Failed test 'bare tilde expansion'
> # at t/01basic.t line 38.
> # got: '/usr/share/perl5'
> # expected: '/home/jon/'
More info:
Sticking
diag '@INC is now: ', Dumper(\@INC);
into t/01basic.t after the shift we get:
in jawnsy's sbuild:
# @INC is now: $VAR1 = [
# '/usr/share/perl5',
# '/usr/lib/perl/5.10',
# '/usr/share/perl/5.10'
# ];
in my cowbuilder:
# @INC is now: $VAR1 = [
# '/tmp/buildd/',
# '/usr/share/perl5',
# '/usr/lib/perl/5.10',
# '/usr/share/perl/5.10'
in my normal environment:
# @INC is now: $VAR1 = [
# '/home/gregoa/',
# '/usr/share/perl5',
# '/usr/lib/perl/5.10',
# '/usr/share/perl/5.10'
# ];
Looking at lib/vendorlib.pm:
Maybe the path is removed by
# remove any directories that don't actually exist
# this will also remove /etc/perl on non-Debian systems
@paths = grep -d, @paths;
i.e. /home/$user doesn't exist in exist but is reported by
getpwuid($<))[7] ?
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Melissa Etheridge: The Different
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110306/aa8c1326/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list