Subject: | t/026FileApp.t fails if cpan build directory has g+s bit |
See http://www.cpantesters.org/cpan/report/47858207 for a sample fail report with the following output:
# Failed test at t/026FileApp.t line 487.
# got: '1512'
# expected: '488'
# Looks like you failed 1 test of 26.
t/026FileApp.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/26 subtests
1512 is octal 02755 --- so the test failure can easily be reproduced on linux or solaris platforms by doing a "chmod g+s" on ~/.cpan/build.
Probably the check in line 487 should ignore this bit and should read
is($mode & 05777,0750); #Win32 777
or even
is($mode & 0777,0750); #Win32 777