HomeFreeBSD

Begin a fuse(4) test suite

Description

Begin a fuse(4) test suite

It only tests the kernel portion of fuse, not the userspace portion (which
comes from sysutils/fusefs-libs). The kernel-userspace interface is
de-facto standardized, and this test suite seeks to validate FreeBSD's
implementation.

It uses GoogleMock to substitute for a userspace daemon and validate the
kernel's behavior in response to filesystem access. GoogleMock is
convenient because it can validate the order, number, and arguments of each
operation, and return canned responses.

But that also means that the test suite must use GoogleTest, since
GoogleMock is incompatible with atf-c++ and atf.test.mk does not allow C++
programs to use atf-c.

This commit adds the first 10 test cases out of an estimated 130 total.

PR: 235775, 235773
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS344714: Embedded chacha: Add 0-bit iv + 128-bit counter mode
Branches
Unknown
Tags
Unknown