Skip to content

Conversation

@fhost
Copy link

@fhost fhost commented Nov 24, 2025

New: Add a small fscrypt test into the base provider, in its own category.

Description

The new fscrypt test generates an ext4 disk image, mount it and setup fscrypt.
Then it creates a file in the disk image mountpoint, locks it and verifies that the file is not accessible anymore. Finally, it unlocks it and check that the file is accessible and its content is correct.

Tests

checkbox-cli, select automated fscrypt test, run the test plan. Tested on my laptop and on my project device (qualcomm arm64 device). Testing with fscrypt already setup and not setup.

@fhost fhost force-pushed the fhost/fscrypt branch 2 times, most recently from 3334c41 to bc7d5f2 Compare November 24, 2025 17:27
@fhost fhost changed the title providers/base: add fscrypt test new: providers/base: add fscrypt test Nov 24, 2025
@fhost fhost changed the title new: providers/base: add fscrypt test providers/base: add fscrypt test (New) Nov 24, 2025
@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.69%. Comparing base (a65231d) to head (cef64d9).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2215      +/-   ##
==========================================
+ Coverage   53.63%   53.69%   +0.05%     
==========================================
  Files         401      402       +1     
  Lines       43116    43169      +53     
  Branches     7990     8001      +11     
==========================================
+ Hits        23127    23180      +53     
- Misses      19174    19177       +3     
+ Partials      815      812       -3     
Flag Coverage Δ
provider-base 31.13% <100.00%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fhost fhost force-pushed the fhost/fscrypt branch 4 times, most recently from 8aa0584 to c4de44f Compare November 25, 2025 09:59
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