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, May 8, 6:24 AM
Unknown Object (File)
Tue, May 7, 2:05 PM
Unknown Object (File)
Jan 11 2024, 10:57 PM
Unknown Object (File)
Dec 27 2023, 9:48 AM
Unknown Object (File)
Dec 20 2023, 5:23 AM
Unknown Object (File)
Nov 23 2023, 12:49 AM
Unknown Object (File)
Nov 21 2023, 11:46 PM
Unknown Object (File)
Nov 15 2023, 12:49 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