kumquat-buildroot/support/testing/tests
Adam Duskett db1ded1084 support/testing: add polkit tests
This test script tests polkit with and without systemd.

The Systemd test does the following:
  - The brtest user attempts to restart the systemd-timesyncd service and is
    denied.

  - A systemd-timesyncd-restart.rules file provided by polkit-rules-test
    is copied from /root/ to /etc/polkit-1/rules.d

  - The brtest user attempts to restart the systemd-timesyncd service and should
    now succeed.

The initd test does the following:
- The brtest user attempts to run the test application "hello-polkit" with the
  command "pkexec hello-polkit" and is denied.

- A hello-polkit.rules file provided by polkit-rules-test is copied from /root/
  to /etc/polkit-1/rules.d

- The brtest user attempts to re-run the test hello-polkit binary with
  "pkexec hello-polkit" and succeeds.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-24 23:29:21 +02:00
..
boot support/testing/tests/boot/test_atf: update U-Boot in TestATFAllwinner 2021-06-26 17:10:42 +02:00
core support/testing/tests: fix tests to use infra.img_round_power2() 2021-06-26 22:16:40 +02:00
download
fs support/tests: fix squashfs test 2021-06-27 11:50:01 +02:00
init support/testing/tests: fix tests to use infra.img_round_power2() 2021-06-26 22:16:40 +02:00
package support/testing: add polkit tests 2021-07-24 23:29:21 +02:00
toolchain
utils
__init__.py