FreeBSD/src 7fc0921 (r349440)tests/sys/fs/fusefs read.cc write.cc

fusefs: annotate deliberate file descriptor leaks in the tests

closing a file descriptor causes FUSE activity that is superfluous to the
purpose of most tests, but would nonetheless require matching expectations.
Rather than do that, most tests deliberately leak file descriptors instead.
This commit moves the leakage from each test into two trivial functions:
leak and leakdir.  Hopefully Coverity will only complain about those
functions and not all of their callers.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+24-21tests/sys/fs/fusefs/read.cc
+21-21tests/sys/fs/fusefs/write.cc
+13-13tests/sys/fs/fusefs/locks.cc
+21-0tests/sys/fs/fusefs/utils.hh
+9-9tests/sys/fs/fusefs/create.cc
+8-7tests/sys/fs/fusefs/readdir.cc
+6-6tests/sys/fs/fusefs/default_permissions.cc
+5-5tests/sys/fs/fusefs/fsyncdir.cc
+5-5tests/sys/fs/fusefs/fsync.cc
+4-4tests/sys/fs/fusefs/notify.cc
+2-2tests/sys/fs/fusefs/fifo.cc
+2-2tests/sys/fs/fusefs/setattr.cc
+2-1tests/sys/fs/fusefs/allow_other.cc
+2-1tests/sys/fs/fusefs/flush.cc
+1-1tests/sys/fs/fusefs/open.cc
+1-1tests/sys/fs/fusefs/unlink.cc
+1-1tests/sys/fs/fusefs/nfs.cc
+1-1tests/sys/fs/fusefs/io.cc
+128-10118 files

UnifiedSplitRaw