On Fri, 8 Jul 2005, Joseph Alotta wrote:
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 ?
--
Chris Devers