Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 102647
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.46
Fixed in: (no value)



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
On 2015-03-09 04:19:35, SREZIC wrote: Show quoted text
> 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
Or to reproduce outside of a CPAN.pm environment: chmod g+s t/tmp prove -b t/026FileApp.t Output: ... # Failed test at t/026FileApp.t line 493. # got: '1512' # expected: '488' ...
On 2015-11-11 10:32:08, SREZIC wrote: Show quoted text
> On 2015-03-09 04:19:35, SREZIC wrote:
> > 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
> > Or to reproduce outside of a CPAN.pm environment: > chmod g+s t/tmp > prove -b t/026FileApp.t > > Output: > ... > # Failed test at t/026FileApp.t line 493. > # got: '1512' > # expected: '488' > ...
https://github.com/mschilli/log4perl/pull/65
Thanks, merged, and will go out with 1.47!
Thanks, merged, and will go out with 1.47!