Hello,

I'm experiencing a weird behaviour.

If I run
    sudo port -v test p5.20-file-path
it succeeds, but if I try
    sudo port -v -t test p5.20-file-path
it fails (most probably due to line 24 in t/Path.t). What I don't
understand is the difference between the normal and the trace mode.

Does anyone have any ideas?

(Original ticket was https://trac.macports.org/ticket/46455)

The part that is causing problems:

for my $perm (0111,0777) {
    my $path = catdir(curdir(), "mhx", "bar");
    mkpath($path);
    chmod $perm, "mhx", $path;

    my $oct = sprintf('0%o', $perm);
    ok(-d "mhx", "mkdir parent dir $oct");
    ok(-d $path, "mkdir child dir $oct");

    rmtree("mhx");
    ok(! -e "mhx", "mhx does not exist $oct");
}

Mojca
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to