> So I tried to install MacOSX::File and got these errors. Does anyone know
> what I am doing wrong?
I get the same result:
macgarnicle:~/.cpan/build/MacOSX-File-0.69 root# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/catalog....ok 3/7# Failed test 4 in t/catalog.t at line 33
# t/catalog.t line 33 is: $asked eq "avbstcLinmed" ? ok(1) : ok(0);
t/catalog....FAILED test 4
Failed 1/7 tests, 85.71% okay
t/copy.......ok
t/file.......ok
t/info.......ok 6/10# Failed test 7 in t/info.t at line 38
# t/info.t line 38 is: ok($asked eq "avbstcLinmed");
t/info.......FAILED test 7
Failed 1/10 tests, 90.00% okay
t/spec.......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------------------------
t/catalog.t 7 1 14.29% 4
t/info.t 10 1 10.00% 7
Failed 2/5 test scripts, 60.00% okay. 2/29 subtests failed, 93.10% okay.
make: *** [test_dynamic] Error 2
macgarnicle:~/.cpan/build/MacOSX-File-0.69 root#
We both got failures on t/catalog 3/7 and t/info 6/10.
The first failed test is:
use MacOSX::File::Catalog;
...
my $asked = askgetfileinfo("dummy");
$asked eq "avbstcLinmed" ? ok(1) : ok(0);
The second failed test is nearly identical:
use MacOSX::File;
use MacOSX::File::Info;
...
my $asked = askgetfileinfo("dummy");
ok($asked eq "avbstcLinmed");
So... something wrong with askgetfileinfo() on Tiger maybe ?

Signature
Chris Devers
Dan Kogai - 09 Jul 2005 06:52 GMT
Folks,
> The first failed test is:
>
[quoted text clipped - 12 lines]
>
> So... something wrong with askgetfileinfo() on Tiger maybe ?
Looks like on Tiger there appeared one more attribute 'z',
man GetFileInfo
> z Busy (allowed on folders)
I will come up w/ a workaround so please wait for a while...
Dan the Maintainer Thereof
Ken Williams - 12 Jul 2005 02:15 GMT
> The first failed test is:
>
> use MacOSX::File::Catalog;
> ...
> my $asked = askgetfileinfo("dummy");
> $asked eq "avbstcLinmed" ? ok(1) : ok(0);
Dan, it would be helpful if you'd just write lines like this simply as:
ok $asked, "avbstcLinmed";
because then people can turn on TEST_VERBOSE=1 and see how the output
differs from the expected output.
-Ken