Skip to content

test: add unit tests for cache.c - #394

Merged
abhinavagarwal07 merged 2 commits into
libfuse:masterfrom
abhinavagarwal07:test-cache-unit
Oct 24, 2026
Merged

abhinavagarwal07 merged 2 commits into
libfuse:masterfrom
abhinavagarwal07:test-cache-unit

Conversation

@abhinavagarwal07

Copy link
Copy Markdown
Collaborator

Unit tests for cache.c against a fake backend and a hand-driven clock, so no mount or sleeps. Strict xfails document replies cached after a purge and stale hard-link aliases.

Includes cache.c and runs it against a fake backend and clock, so no
mount and no sleeping. Known gaps are strict expected failures.
Run the unit suite in the Linux build jobs and under ASan and UBSan.
@abhinavagarwal07
abhinavagarwal07 merged commit 6fcc305 into libfuse:master Oct 24, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant