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 support/download: change format of archives generated from git 2021-01-10 22:06:58 +01:00
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 support/scripts/gen-bootlin-toolchains: correct xtensa-lx60 toolchain dependencies 2021-03-02 23:52:49 +01:00
utils support/testing: switch to Python 3 only 2019-10-28 22:14:07 +01:00
__init__.py support/testing: core testing infrastructure 2017-05-07 22:04:54 +02:00