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)
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
Unknown Object (File)
Oct 2 2024, 7:26 PM
Unknown Object (File)
Sep 6 2024, 10:36 PM
Unknown Object (File)
Aug 31 2024, 2:37 AM
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