selftests/landlock: UX improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/landlock: Clean up tmp directory even when mount failstools/ | +9 | 0 replies | |
| 2/3 | selftests/landlock: Print a warning about directory permissionstools/ | +31 | 2 replies | |
| 3/3 | selftests/landlock: Clean up TMP_DIR and retry if dir already existstools/ | +41 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] selftests/landlock: UX improvements
Hi,
A while ago I tried running the landlock selftests and it took me a while to get it completely working. One of the main thing which confused me a bit was the fact that I was missing the right permissions on the test directory, and this matters even though I ran the test with root.
The other slightly annoying thing was that the mkdir would fail with EEXIST if a previous run fails to setup.
This patch series tries to improve the experience should someone else runs into the same issues.
Tingmao Wang (3):
selftests/landlock: Clean up tmp directory even when mount fails selftests/landlock: Print a warning about directory permissions selftests/landlock: Clean up TMP_DIR and retry if dir already exists
tools/testing/selftests/landlock/fs_test.c | 91 +++++++++++++++++++--- 1 file changed, 81 insertions(+), 10 deletions(-)
base-commit: a5806cd506af5a7c19bcd596e4708b5c464bfd21 --
2.49.0