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
F137021714: D26635.id77760.diff
Fri, Nov 21, 12:15 AM
F137020965: D26635.id77787.diff
Fri, Nov 21, 12:12 AM
F137020721: D26635.id.diff
Fri, Nov 21, 12:11 AM
F137019018: D26635.diff
Fri, Nov 21, 12:06 AM
Unknown Object (File)
Fri, Nov 14, 12:00 AM
Unknown Object (File)
Thu, Nov 13, 7:20 PM
Unknown Object (File)
Thu, Nov 13, 12:51 PM
Unknown Object (File)
Thu, Nov 13, 12:09 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 Passed
Unit
No Test Coverage
Build Status
Buildable 33938
Build 31135: arc lint + arc unit

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