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
signature.asc
Description: Digital signature