kumquat-buildroot/support
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
..
config-fragments support/config-fragments/autobuild/br-arm-internal-glibc: update to bleeding edge components 2021-06-25 13:44:51 +02:00
dependencies support/dependencies, scripts: accept patches with renames 2021-05-19 08:33:11 +02:00
docker
download
gnuconfig
kconfig
legal-info
libtool
misc Update for 2021.05 2021-06-06 23:21:08 +02:00
scripts Merge branch 'next' 2021-06-07 17:14:37 +02:00
testing support/testing: add polkit tests 2021-07-24 23:29:21 +02:00