QuickCheck failures with new 'tar' release...

Duncan Coutts duncan.coutts at googlemail.com
Mon Jul 13 12:12:32 UTC 2015


On Thu, 2015-07-09 at 17:26 -0400, Michael Alan Dorman wrote:
> I'm not sure if there's a more appropriate venue to bring this up; the
> package doesn't seem to have any sort of explicit issue tracker.
> 
> On the NixOS build servers, we're seeing across-the-board failures for
> the 0.4.2.0 release of the 'tar' library, specifically, two properties
> that were added in the latest release.
> 
> It looks to me like prop_lookup is fundamentally broken---it falls over
> in the face of a lookup for 'a/b' in a list of entries that includes
> 'a/b/c/d', because while the library lookup function returns a match
> including the remainder of the path as a result, the Data.List.lookup
> that it's comparing against returns nothing.
> 
> I don't see a way for the test as it is constituted to work reliably.
> I'm going to guess that prop_valid suffers from a similar issue.
> 
> Either way, it would be nice if they could either be corrected, or diked
> out until that happens.

Cheers, yes my mistake. I'll fix the test and do a minor release.

Duncan



More information about the Libraries mailing list