Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Ensure files are in backend dirs #24

Open
robin-nitrokey opened this issue Apr 5, 2023 · 2 comments
Open

tests: Ensure files are in backend dirs #24

robin-nitrokey opened this issue Apr 5, 2023 · 2 comments

Comments

@robin-nitrokey
Copy link
Member

The run methods used by the tests should ensure that all created files are inside the global and client backend directories (probably with an exemption for the RNG state).

@sosthene-nitrokey
Copy link
Contributor

I tested this manually with DebugDumpStore. Maybe this syscall should actually return a structure with the filesystem described so that it can be used in test (behind a flag and using HashMaps to have no size limitation).

@robin-nitrokey
Copy link
Member Author

As we have access to the platform, we can also access the store directly.

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

No branches or pull requests

2 participants