Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 93682
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: zakame [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.000006
Fixed in: (no value)



Subject: t/shell.t fish test finding /usr/games/fish in Slackware
Slackware systems (and possibly others) without /bin/fish do not run the test correctly in t/shell.t, finding instead /usr/games/fish which it then tries to run, thinking it is a valid shell: [zakame@jazz:~/.cpanm … local-lib-2.000006] % perl t/shell.t 1..18 ok 1 - sh: activate root ok 2 - sh: activate PATH ok 3 - sh: activate PERL5LIB ok 4 - sh: deactivate root ok 5 - sh: deactivate PATH ok 6 - sh: deactivate PERL5LIB ok 7 - csh: activate root ok 8 - csh: activate PATH ok 9 - csh: activate PERL5LIB ok 10 - csh: deactivate root ok 11 - csh: deactivate PATH ok 12 - csh: deactivate PERL5LIB On another term: 25032 pts/4 S 0:00 | \_ bash /home/zakame/.plenv/shims/cpanm --look local::lib 25033 pts/4 S 0:00 | \_ /home/zakame/.plenv/versions/5.19.9/bin/perl5.19.9 /home/zakame/.plenv/versions/5.19.9/bin/cpanm --look local::lib 25069 pts/4 S 0:00 | \_ /bin/zsh 4196 pts/4 S+ 0:00 | \_ perl t/shell.t 4215 pts/4 S+ 0:00 | \_ /usr/games/fish /tmp/ll-test-script-BwVIa.fish Perhaps looking up valid shells in /etc/shells to test on should be included here? Cheers, Zakame
Thanks for reminding me about /etc/shells. I'll have a fix out for this soon.
This should be fixed in 2.000007