X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=blobdiff_plain;f=t%2Fshell.t;fp=t%2Fshell.t;h=7ab7ef29b71ec9de1d3874cbf2dc214fa5e420eb;hp=dc8fd1af7be38ac537a692472b4daf86579714e9;hb=1730f48f02f596ea214aab12466dd6471a2990d7;hpb=ecc3a2eebf44c44f730f094f8ac392ded97c49e4 diff --git a/t/shell.t b/t/shell.t index dc8fd1a..7ab7ef2 100644 --- a/t/shell.t +++ b/t/shell.t @@ -80,10 +80,11 @@ for my $shell (@shells) { local $ENV{PATH} = $root; local $ENV{PERL5LIB}; delete $ENV{PERL5LIB}; + my $bin_path = local::lib->install_base_bin_path($ll_dir); + mkdir $bin_path; my $env = call_ll($shell, "$ll"); is $env->{PERL_LOCAL_LIB_ROOT}, $ll_dir, "$shell->{name}: activate root"; - my $bin_path = local::lib->install_base_bin_path($ll_dir); like $env->{PATH}, qr/^\Q$bin_path$sep$root\E(?:$|\Q$sep\E)/, "$shell->{name}: activate PATH"; is $env->{PERL5LIB}, local::lib->install_base_perl_path($ll_dir),