You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests are bootstrapped from tldr pages and edited to fit the test suite. Run go run ./tests/cmd -b to generate them. They are basic, but they serve as a good starting point.
Do not run the integration tests (make bats) outside a system dedicated for this purpose. The tests can be destructive and wipe your data.
Plan
For more complex software suite, more integration tests need to be done. The plan is to run existing integration suite from these very software in an environment with apparmor.d profiles.
Systemd
They use mkosi to generate a VM image to run their own integration tests.
This issue aims to present and discuss the various tests applied to the profiles as well as their current stage of deployment.
Current Status
Build:
make
@{exec_path}
) is defined.Checks:
make check
Check basic style of profiles:
Integration Tests:
make bats
Integration tests for core cli profiles.
go run ./tests/cmd -b
to generate them. They are basic, but they serve as a good starting point.Caution
Do not run the integration tests (
make bats
) outside a system dedicated for this purpose. The tests can be destructive and wipe your data.Plan
For more complex software suite, more integration tests need to be done. The plan is to run existing integration suite from these very software in an environment with apparmor.d profiles.
Systemd
Gnome
The text was updated successfully, but these errors were encountered: