Page MenuHomeFreeBSD

fusefs tests: quell Coverity "Argument cannot be negative" warnings
ClosedPublic

Authored by asomers on Oct 1 2020, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 15, 6:33 PM
Unknown Object (File)
Mon, Jan 13, 7:26 AM
Unknown Object (File)
Fri, Jan 3, 11:43 AM
Unknown Object (File)
Nov 14 2024, 11:33 PM
Unknown Object (File)
Oct 28 2024, 4:39 AM
Unknown Object (File)
Oct 25 2024, 7:44 AM
Unknown Object (File)
Oct 9 2024, 7:36 PM
Unknown Object (File)
Oct 3 2024, 5:02 PM
Subscribers

Details

Summary

fusefs tests: quell Coverity "Argument cannot be negative" warnings

Must abort tests early if open(2) fails.

Coverity CID: 1432810 and many others

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I don't care about non-material Coverity findings in test code.

In D26635#593310, @cem wrote:

I don't care about non-material Coverity findings in test code.

Then you don't care about quality. The only way to find real bugs with tools like this is to methodically squash all the warnings.

Then you don't care about quality. The only way to find real bugs with tools like this is to methodically squash all the warnings.

You're incorrect on both counts, and the attitude is totally unwarranted.

This revision is now accepted and ready to land.Oct 2 2020, 4:34 PM