Post by Jarkko HietaniemiPost by bulk 88FAT32 vs NTFS disk? Its been about a year or 2 since I last did a FAT32 smoke and submitted patches for it.
Whatever George Greer's win32 smoker has.
George's log file (linked in all of his smoke reports) says:
../cpan/File-Fetch/t/null_subclass.t .............................. ok
Can't locate Carp.pm in @INC (you may need to install the Carp module)
(@INC contains: ../../lib ../../t .) at ../../lib/File/Path.pm line
45.
# Failed test '... now chdir '
# at t/Path.t line 835.
Can't locate Carp.pm in @INC (you may need to install the Carp module)
(@INC contains: ../../lib ../../t .) at ../../lib/File/Path.pm line
45.
END failed--call queue aborted at t/Path.t line 45.
# Looks like you planned 159 tests but ran 68.
# Looks like you failed 1 test of 68 run.
# Looks like your test exited with 2 just after 68.
../cpan/File-Path/t/Path.t ........................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 92/159 subtests
(less 2 skipped subtests: 65 okay)
../cpan/File-Path/t/taint.t ....................................... ok
which was briefly mentioned in Message-ID:
<***@drei.m-l.org> but I didn't see any
resolution.
The code in Path.t where the trouble is looks like:
my $p = getcwd();
my $x = "x$$";
my $xx = $x . "x";
# setup
ok(mkpath($xx), "make $xx");
ok(chdir($xx), "... and chdir $xx");
END {
ok(chdir($p), "... now chdir $p");
ok(rmtree($xx), "... and finally rmtree $xx");
}
and it fails in chdir inside the END block. Since the log just says
"... now chdir" with nothing after it, it looks like $p must be an
empty string, which I believe only recently started causing chdir to
fail. But we've just done C<my $p = getcwd();> a few lines up. So
under what conditions does getcwd() return an empty string on Windows?