Skip to content

Add FUSE-based mock FS for component tests - #79

Open
lforchini wants to merge 2 commits into
test/fake-backendfrom
test/mockfs
Open

lforchini wants to merge 2 commits into
test/fake-backendfrom
test/mockfs

Conversation

@lforchini

Copy link
Copy Markdown
Collaborator

Component tests need a FUSE /proc whose contents are controlled by
tests. The filesystem, dbus control pane, and relevant tests live in one
feature-gated binary.

Signed-off-by: Leonardo Forchini leonardo.forchini@nutanix.com


Stack created with GitHub Stacks CLI • Give Feedback 💬

@lforchini
lforchini added this pull request to stack #83 October 1, 2026 14:37
@lforchini
lforchini removed this pull request from stack #83 October 1, 2026 14:50
@lforchini
lforchini added this pull request to stack #84 October 1, 2026 14:50
@lforchini
lforchini removed this pull request from stack #84 October 5, 2026 08:12
@lforchini
lforchini added this pull request to stack #87 October 5, 2026 08:16
@lforchini
lforchini marked this pull request as ready for review October 5, 2026 08:29
@lforchini
lforchini force-pushed the test/mockfs branch 2 times, most recently from 4bfae9c to e77fd35 Compare October 5, 2026 09:16
@lforchini
lforchini removed this pull request from stack #87 October 8, 2026 15:22
@lforchini
lforchini added this pull request to stack #88 October 8, 2026 15:23
@lforchini
lforchini removed this pull request from stack #88 October 13, 2026 12:32
@lforchini
lforchini added this pull request to stack #95 October 13, 2026 12:44

@tmakatos tmakatos left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you ask David to review this as well, as he's done something very similar..

Comment thread src/bin/mockfsd.rs Outdated

//! FUSE filesystem whose file contents come from registered callbacks.
//!
//! One process claims `com.nutanix.mockfs1` on the system bus

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you expland a bit?

@lforchini
lforchini removed this pull request from stack #95 October 21, 2026 08:27
@lforchini
lforchini added this pull request to stack #152 October 23, 2026 08:22
Component tests need a FUSE /proc whose contents are controlled by
tests. The filesystem, dbus control pane, and relevant tests live in one
feature-gated binary.

AI-Generated: DBus interface
Signed-off-by: Leonardo Forchini <leonardo.forchini@nutanix.com>
AI-Generated: Most of it
Signed-off-by: Leonardo Forchini <leonardo.forchini@nutanix.com>
@lforchini
lforchini removed this pull request from stack #152 October 23, 2026 08:44
@lforchini
lforchini added this pull request to stack #157 October 23, 2026 08:45
@lforchini
lforchini removed this pull request from stack #157 October 23, 2026 08:49
@lforchini
lforchini added this pull request to stack #159 October 23, 2026 08:50
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.

2 participants