apparmor-ofono automated
medium
- Image Types:
- basesdk-amd64 / hmi-armhf / hmi-amd64 / sdk-amd64
- Image Deployment:
- APT, OSTree
- Type:
- functional
Description
Test that AppArmor profiles provided in ofono package work without unexpected auditd log entries.
Pre Conditions
- Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
- Copy the test directory ofono to the target device:
- Log into the target device:
$ git clone --branch apertis/v2024dev2 https://gitlab.apertis.org/tests/ofono.git
$ DUT_IP=<device-ip>
$ scp -r ofono user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- Enter test directory:
- Execute the following command:
$ cd ofono
$ sudo ./run-test.sh
Expected
A list of executed test with related result (as pass/fail/skip) will be shown on console, similar to the following:
ofonod-normal.expected: pass
When all test cases will pass you will be shown the following message:
# apparmor-ofono: all tests passed
When either one or more test fails it you will be shown the following message:
# apparmor-ofono: at least one test failed
Notes
- The results of the tests printed to the standard output are enough to determine whether they passed or fail.