[MacPorts] #46455: p5-file-path: upgrade to 2.09, add 5.18 5.20; tests fail
MacPorts
noreply at macports.org
Sat Jan 10 05:08:45 PST 2015
#46455: p5-file-path: upgrade to 2.09, add 5.18 5.20; tests fail
---------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: p5-file-path |
---------------------------+--------------------------------
Comment (by devans@…):
If I run the test directly without root permission
{{{
perl5.20 t/Path.t
1..129
ok 1 - use Cwd;
ok 2 - use File::Path;
ok 3 - use File::Spec::Functions;
mkdir mhx: Permission denied at t/Path.t line 23.
Use of chdir('') or chdir(undef) as chdir() is deprecated at t/Path.t line
654.
ok 4 - ... now chdir
No root path(s) specified
at t/Path.t line 655.
not ok 5 - ... and finally rmtree
# Failed test '... and finally rmtree '
# at t/Path.t line 655.
# Looks like you planned 129 tests but ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test exited with 255 just after 5.
}}}
which makes sense since
{{{
$ ls -ld .
drwxr-xr-x 17 macports wheel 578 Jan 10 04:47 .
}}}
Only macports (and root) have write access in the working directory.
--
Ticket URL: <https://trac.macports.org/ticket/46455#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list