feat: complete session preferences and PAM fixture gates

This commit is contained in:
2026-09-26 02:44:29 +05:30
parent 83345a1842
commit f266a992b4
13 changed files with 473 additions and 5 deletions

View File

@@ -5,6 +5,9 @@ Latchd has two test layers:
* `make integration-test` builds the binary and exercises metadata, TOML
validation, preflight, and the non-authenticating preview path. It does not
need PAM credentials, root, a VT, X11, or Wayland.
* `make pam-fixture-test` installs a unique temporary `pam_deny` service only
when run as root, executes the ignored authentication/password-change fault
tests, and removes the service on exit. Non-root runs report `SKIP`.
* `make system-e2e` probes the host for PAM, faillock, VT, X11, Wayland, and
systemd-logind capabilities. Missing capabilities are reported as `SKIP`,
never as a successful test. Use `make system-e2e-strict` only in a prepared
@@ -22,6 +25,7 @@ For a local release-style run:
```sh
make integration-test
make pam-fixture-test
make docker-test
make system-e2e
```