develooper Front page | perl.perl5.porters | Postings from November 2016

[perl #116775] Broken test t/op/groups.t

Thread Next
From:
James E Keenan via RT
Date:
November 18, 2016 13:10
Subject:
[perl #116775] Broken test t/op/groups.t
Message ID:
rt-4.0.24-15481-1479474640-868.116775-15-0@perl.org
On Fri, 30 Sep 2016 14:42:21 GMT, dcollinsn@gmail.com wrote:
> On Fri Jul 12 18:24:55 2013, jkeenan wrote:
> > On Sun Feb 17 15:42:59 2013, jbenjore wrote:
> > > It is possible that on Darwin perl's $( should call the libc
> > > function
> > > getgrouplist(3) *instead* of getgroups(2). The libc function
> > > consults
> > > Open Directory and is not limited by the kernel's NGROUPS_MAX
> > > allocation.
> > >
> > > Further, it is just a rank stupid bug that this code can run and
> > > omit at
> > > least a "not ok 1". Apologies for
> > > http://perl5.git.perl.org/perl.git/blob/651d4685ebdde5512841551572b29e74
> > > 605bfc38:/t/op/groups.t#l120 which clearly allows for a missing
> > > "not ok
> > > 1".
> 
> The suggestion to enhance the test in the first quoted paragraph
> aside, the present bug is that a failing test here looks like "tests
> out of sequence" and "bad plan" instead of "FAILED". The attached
> patch will correct that issue.

Since no significant objection was raised to this patch, I have pushed it to blead in commit 5107ee8.

Thank you very much.
-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=116775

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About