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)
Tue, Oct 14, 1:07 AM
Unknown Object (File)
Tue, Oct 14, 1:07 AM
Unknown Object (File)
Tue, Oct 14, 1:07 AM
Unknown Object (File)
Mon, Oct 13, 11:39 AM
Unknown Object (File)
Tue, Oct 7, 6:17 AM
Unknown Object (File)
Fri, Sep 26, 4:49 AM
Unknown Object (File)
Aug 24 2025, 7:27 PM
Unknown Object (File)
Aug 23 2025, 12:48 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 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