Bug#991059: diffoscope: handling of errors in unsquashfs
rclobus at rclobus.nl
Tue Aug 17 12:42:28 BST 2021
On 17/08/2021 13:02, Chris Lamb wrote:
>> If possible, I would like to see something like:
>> * If the return value of unsquashfs is non-zero, look whether stderr
>> only contains lines like
>> 'create_inode: could not create character device ./dev/console, because
>> you're not superuser!'
>> * If that is the case, resume normal operation, pretending the return
>> code to be zero
>> * If not, then something else happened, which is out-of-scope for this
>> ticket and handled with the current code
> Great idea. I've tried implementing this on diffoscope 'master' and it
> appears to work for me. Can you test it there, or shall I release it first?
Thanks for the code.
The test suite (which uses git directly) fails at the moment:
In parallel, I'll run the code on the images that I have here (using the
latest code in git).
With kind regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Reproducible-builds