On Tuesday, February 5, 2002, at 12:39 PM, Randal L. Schwartz wrote:

>
> So what is everyone using that they can actually *use* it here? Curious.
> 5.6.1 perhaps?
>
Running 5.6.1 here, but I think it may be a permission problem in the 
distrib directory,
The test scripts should probably copy, etc. in /tmp instead of the 
current tree.
transcript below
I did something like:
sudo  'perl -MCPAN -eshell'
 >install MacOSX::File
....
OK
 > quit

Now, as verfied
sudo -s
# cd ~/.cpan/build/MacOSX-File-0.61
# ls -l
....
-rw-r--r--    1 root     1000         1689 Jan 28 02:44 File.pm
....
# make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/catalog....ok
t/copy.......ok
t/file.......ok
t/info.......ok
t/spec.......ok
All tests successful.

# exit
$ make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/catalog....dubious
         Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 3-7
         Failed 5/7 tests, 28.57% okay
t/copy.......NOK 2-5000 at t/copy.t line 20.
t/copy.......NOK 3-5000 at t/copy.t line 21.
Use of uninitialized value in numeric eq (==) at 
blib/lib/MacOSX/File/Copy.pm line 146.
t/copy.......NOK 4-43 at t/copy.t line 22.
Use of uninitialized value in numeric eq (==) at 
blib/lib/MacOSX/File/Copy.pm line 146.
t/copy.......NOK 5-43 at t/copy.t line 23.
t/copy.......FAILED tests 2-5
         Failed 4/5 tests, 20.00% okay
t/file.......ok
t/info.......NOK 6/Developer/Tools/GetFileInfo: could not refer to file 
(-43)
Use of uninitialized value in string eq at t/info.t line 37.
t/info.......FAILED tests 6-7, 9-10
         Failed 4/10 tests, 60.00% okay
t/spec.......ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/catalog.t    0    11     7    5  71.43%  3-7
t/copy.t                   5    4  80.00%  2-5
t/info.t                  10    4  40.00%  6-7 9-10
Failed 3/5 test scripts, 40.00% okay. 13/29 subtests failed, 55.17% okay.

$ sudo chown -R rick .
$ make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/catalog....ok
t/copy.......ok
t/file.......ok
t/info.......ok
t/spec.......ok
All tests successful.

Reply via email to