kumquat-buildroot/support/testing/tests/package
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
..
br2-external support/testing: add polkit tests 2021-07-24 23:29:21 +02:00
test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d support/testing: test_glxinfo load X11 modules in the right order 2021-05-18 15:25:49 +02:00
test_lxc support/testing: add lxc test 2019-11-20 22:38:25 +01:00
test_openssh support/testing: add openssh runtime test 2020-08-19 22:13:43 +02:00
test_opkg support/testing: new opkg test case 2020-02-03 22:17:42 +01:00
__init__.py
copy-sample-script-to-target.sh support/testing: create default test case for python packages 2018-11-13 20:55:45 +01:00
sample_bmap_tools.sh support/testing/tests/package/test_bmap_tools: new test 2021-06-25 14:24:22 +02:00
sample_gst1_python.py support/testing/tests/package/sample_gst1_python.py: fix flake8 errors 2020-03-29 15:50:07 +02:00
sample_libftdi1.py support/testing: add libftdi1 test case 2020-02-23 11:12:09 +01:00
sample_python_argh.py support/testing: add python-argh tests 2018-11-23 22:05:46 +01:00
sample_python_attrs.py support/testing: add python-attrs tests 2018-11-23 22:05:46 +01:00
sample_python_augeas.py support/testing/tests/package/test_python_augeas: new test 2021-06-24 23:42:04 +02:00
sample_python_autobahn.py support/testing: use TestPythonPackageBase for python-autobahn 2018-11-13 20:55:45 +01:00
sample_python_automat.py support/testing: add python-automat tests 2018-11-23 22:05:46 +01:00
sample_python_avro.py support/testing: add test for python-avro 2019-12-29 21:38:33 +01:00
sample_python_bitstring.py support/testing: add python-bitstring tests 2018-11-23 22:05:46 +01:00
sample_python_can.py support/testing: add python-can test case 2020-01-31 08:05:21 +01:00
sample_python_cbor_dec.py support/testing: add python-cbor tests 2018-11-23 22:05:46 +01:00
sample_python_cbor_enc.py support/testing: do not print non-utf-8 chars on cbor test 2019-08-11 22:11:55 +02:00
sample_python_click.py support/testing: add python-click tests 2018-11-23 22:05:46 +01:00
sample_python_colorzero.py support/testing: add python-colorzero test 2020-06-18 21:45:00 +02:00
sample_python_constantly.py support/testing: add python-constantly tests 2018-11-23 22:05:46 +01:00
sample_python_crossbar.py support/testing: make crossbar to use umsgpack 2019-08-11 14:17:28 +02:00
sample_python_cryptography.py support/testing: use TestPythonPackageBase for python-cryptography 2018-11-13 20:55:45 +01:00
sample_python_dbus_next.py support/testing: add python-dbus-next test 2021-05-19 16:41:10 +02:00
sample_python_django.py support/testing: add python-django test 2019-12-05 23:02:14 +01:00
sample_python_gitdb2.py support/testing: really fix python-gitdb2 test 2020-01-04 09:29:36 +01:00
sample_python_gobject.py support/testing/tests/package/sample_python_gobject.py: fix flake8 warnings 2020-03-24 15:54:29 +01:00
sample_python_gpiozero.py support/testing: add python-gpiozero test 2020-06-18 21:45:00 +02:00
sample_python_incremental.py support/testing: use TestPythonPackageBase for python-incremental 2018-11-13 20:55:45 +01:00
sample_python_passlib.py support/testing: add python-passlib tests 2018-11-23 22:05:46 +01:00
sample_python_pexpect.py support/testing: add python-pexpect tests 2018-11-23 22:05:46 +01:00
sample_python_pynacl.py support/testing: add python-pynacl tests 2018-11-23 22:05:46 +01:00
sample_python_pytest_asyncio.py support/testing: add pytest-asyncio test 2020-12-31 15:10:16 +01:00
sample_python_pytest.py support/testing: add pytest test 2020-09-06 14:46:41 +02:00
sample_python_pyyaml_dec.py support/testing: add python-pyyaml tests 2018-11-23 22:05:46 +01:00
sample_python_pyyaml_enc.py support/testing: add python-pyyaml tests 2018-11-23 22:05:46 +01:00
sample_python_rpi_gpio.py support/tests: add runtime test for python-rpi-gpio 2020-08-23 23:29:55 +02:00
sample_python_service_identity.py support/testing: add python-service-identity tests 2018-11-23 22:05:46 +01:00
sample_python_smmap2.py support/testing: add smmap2 test 2019-12-16 23:28:08 +01:00
sample_python_subprocess32.py support/testing: add python-subprocess32 test 2018-11-23 22:05:46 +01:00
sample_python_treq.py support/testing: add python-treq tests 2018-11-23 22:05:46 +01:00
sample_python_twisted.py support/testing: use TestPythonPackageBase for python-twisted 2018-11-13 20:55:45 +01:00
sample_python_txaio_asyncio.py support/testing: use TestPythonPackageBase for python-txaio 2018-11-13 20:55:45 +01:00
sample_python_txaio_twisted.py support/testing: use TestPythonPackageBase for python-txaio 2018-11-13 20:55:45 +01:00
sample_python_txtorcon.py support/testing: use TestPythonPackageBase for python-txtorcon 2018-11-13 20:55:45 +01:00
sample_python_ubjson_dec.py support/testing: add python-ubjson tests 2018-11-23 22:05:46 +01:00
sample_python_ubjson_enc.py support/testing: add python-ubjson tests 2018-11-23 22:05:46 +01:00
test_atop.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_bmap_tools.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_crudini.py support/testing: add runtime test for Crudini (py2 and py3) 2020-02-05 16:23:42 +01:00
test_docker_compose.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_dropbear.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_execline.py support/testing: add execline tests 2021-05-04 21:34:36 +02:00
test_glxinfo.py support/testing: test_glxinfo load X11 modules in the right order 2021-05-18 15:25:49 +02:00
test_gst1_python.py support/testing: don't use TestPythonPackageBase.config and linaro toolchain 2020-04-06 22:16:36 +02:00
test_ipython.py support/testing/tests: drop Python 2.x test in test_ipython 2019-05-18 22:41:22 +02:00
test_libftdi1.py support/testing: add libftdi1 test case 2020-02-23 11:12:09 +01:00
test_lpeg.py support/testing/tests/package/test_lua*: regeneration 2019-03-31 12:15:02 +02:00
test_lsqlite3.py support/testing: add lsqlite3 test 2019-03-28 17:20:00 +01:00
test_lua_cqueues.py support/testing: add lua-cqueues test 2019-09-29 09:15:08 +02:00
test_lua_curl.py support/testing/tests/package/test_lua*: regeneration 2019-03-31 12:15:02 +02:00
test_lua_gd.py support/testing: add lua-gd test 2019-10-26 16:31:03 +02:00
test_lua_http.py support/testing: add lua-http test 2019-03-28 19:01:00 +01:00
test_lua_lunix.py package/lua-lunix: new package 2021-07-13 22:19:07 +02:00
test_lua_lyaml.py package/lua-lyaml: new package 2020-03-20 23:00:30 +01:00
test_lua_sdl2.py support/testing: add lua-sdl2 test 2019-10-26 16:31:36 +02:00
test_lua_utf8.py support/testing: test_lua_utf8: fix test after bump to lua-utf8 0.1.2 2020-04-27 22:03:21 +02:00
test_lua_zlib.py package/lua-zlib: new package 2021-06-14 22:31:32 +02:00
test_lua.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_luaexpat.py support/testing: add luaexpat test 2019-03-28 17:20:00 +01:00
test_luafilesystem.py support/testing: add luafilesystem test 2019-03-28 17:20:00 +01:00
test_lualdap.py package/lualdap: new package 2020-12-31 15:13:06 +01:00
test_luaossl.py support/testing/tests/package/test_lua*: regeneration 2019-03-31 12:15:02 +02:00
test_luaposix.py package/luaposix: bump to version 34.1.1 2019-08-01 18:11:33 +02:00
test_luasec.py support/testing: add luasec test 2019-03-28 17:20:00 +01:00
test_luasocket.py support/testing/tests/package/test_lua*: regeneration 2019-03-31 12:15:02 +02:00
test_luasyslog.py support/testing: improve test_luasyslog 2019-08-02 17:35:44 +02:00
test_luvi.py support/testing: add luvi test 2019-10-26 16:33:12 +02:00
test_lxc.py support/testing: test_lxc: use ARM arm external toolchain 2020-04-06 22:16:36 +02:00
test_lzlib.py support/testing: add lzlib test 2019-10-26 16:30:58 +02:00
test_netdata.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_openjdk.py testing/tests/package/test_openjdk.py: bump kernel version to 5.10.34 2021-05-05 21:37:21 +02:00
test_openssh.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_opkg.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_perl_class_load.py support/testing/tests/package/test_perl_*: regeneration 2019-03-31 14:01:50 +02:00
test_perl_dbd_mysql.py support/testing: add perl-dbd-mysql test 2018-12-06 22:30:30 +01:00
test_perl_encode_detect.py support/testing: add perl-encode-decode test 2018-12-06 22:30:36 +01:00
test_perl_gdgraph.py support/testing/tests/packages/test_perl_*: regeneration 2018-12-06 22:19:59 +01:00
test_perl_html_parser.py support/testing: add missing test file for perl-html-parser 2020-03-15 21:38:56 +01:00
test_perl_io_socket_multicast.py support/testing: add perl-io-socket-multicast test 2018-12-06 22:30:40 +01:00
test_perl_io_socket_ssl.py package/perl-io-socket-ssl: bump to version 2.070 2021-04-24 22:46:43 +02:00
test_perl_libwww_perl.py package/perl-libwww-perl: bump to version 6.53 2021-04-24 22:46:44 +02:00
test_perl_lwp_protocol_https.py package/perl-lwp-protocol-https: new package 2020-03-15 21:38:56 +01:00
test_perl_mail_dkim.py support/testing/tests/package/test_perl_*: regeneration 2019-03-31 14:01:50 +02:00
test_perl_x10.py support/testing/tests/package/test_perl_*: regeneration 2019-03-31 14:01:50 +02:00
test_perl_xml_libxml.py support/testing/tests/packages/test_perl_*: regeneration 2018-12-06 22:19:59 +01:00
test_perl.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_polkit.py support/testing: add polkit tests 2021-07-24 23:29:21 +02:00
test_prosody.py support/testing: add prosody test 2018-12-06 23:08:59 +01:00
test_python_argh.py support/testing: add python-argh tests 2018-11-23 22:05:46 +01:00
test_python_attrs.py support/testing: add python-attrs tests 2018-11-23 22:05:46 +01:00
test_python_augeas.py support/testing/tests/package/test_python_augeas: new test 2021-06-24 23:42:04 +02:00
test_python_autobahn.py package/python-autobahn: drop python 2 support 2020-04-08 22:55:07 +02:00
test_python_automat.py support/testing: add python-automat tests 2018-11-23 22:05:46 +01:00
test_python_avro.py support/testing: add test for python-avro 2019-12-29 21:38:33 +01:00
test_python_bitstring.py support/testing: add python-bitstring tests 2018-11-23 22:05:46 +01:00
test_python_can.py support/testing: add python-can test case 2020-01-31 08:05:21 +01:00
test_python_cbor.py support/testing: add python-cbor tests 2018-11-23 22:05:46 +01:00
test_python_click.py support/testing: add python-click tests 2018-11-23 22:05:46 +01:00
test_python_colorzero.py support/testing: remove TestPythonPy2Colorzero 2021-05-14 19:24:33 +02:00
test_python_constantly.py support/testing: add python-constantly tests 2018-11-23 22:05:46 +01:00
test_python_crossbar.py support/testing: drop haveged for python tests 2019-08-03 14:53:05 +02:00
test_python_cryptography.py support/testing: use TestPythonPackageBase for python-cryptography 2018-11-13 20:55:45 +01:00
test_python_dbus_next.py support/testing: add python-dbus-next test 2021-05-19 16:41:10 +02:00
test_python_django.py support/testing: test_python_django: use the timeout_multiplier value 2020-04-12 12:08:51 +02:00
test_python_gitdb2.py support/testing: add gitdb2 test 2019-12-16 23:36:45 +01:00
test_python_gobject.py support/testing/tests/package/test_python_gobject.py: fix flake8 warning 2020-03-24 15:54:29 +01:00
test_python_gpiozero.py support/testing: remove TestPythonPy2Gpiozero 2021-05-14 19:24:24 +02:00
test_python_incremental.py support/testing: use TestPythonPackageBase for python-incremental 2018-11-13 20:55:45 +01:00
test_python_passlib.py support/testing: add python-passlib tests 2018-11-23 22:05:46 +01:00
test_python_pexpect.py support/testing: add python-pexpect tests 2018-11-23 22:05:46 +01:00
test_python_pynacl.py support/testing: drop haveged for python tests 2019-08-03 14:53:05 +02:00
test_python_pytest_asyncio.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_python_pytest.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_python_pyyaml.py support/testing: add python-pyyaml tests 2018-11-23 22:05:46 +01:00
test_python_rpi_gpio.py support/tests: add runtime test for python-rpi-gpio 2020-08-23 23:29:55 +02:00
test_python_service_identity.py support/testing: add python-service-identity tests 2018-11-23 22:05:46 +01:00
test_python_smmap2.py support/testing: add smmap2 test 2019-12-16 23:28:08 +01:00
test_python_subprocess32.py support/testing: add python-subprocess32 test 2018-11-23 22:05:46 +01:00
test_python_treq.py support/testing: make treq tests to ignore warning 2019-08-11 14:17:28 +02:00
test_python_twisted.py support/testing: use TestPythonPackageBase for python-twisted 2018-11-13 20:55:45 +01:00
test_python_txaio.py package/python-txaio: drop python 2 support 2020-04-11 14:48:45 +02:00
test_python_txtorcon.py support/testing: use TestPythonPackageBase for python-txtorcon 2018-11-13 20:55:45 +01:00
test_python_ubjson.py support/testing: add python-ubjson tests 2018-11-23 22:05:46 +01:00
test_python.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_redis.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_rings.py support/testing: add rings test 2019-03-28 17:20:00 +01:00
test_rust.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_s6_networking.py support/testing: add s6-networking tests 2021-05-04 21:58:51 +02:00
test_s6_portable_utils.py support/testing: add s6-portable-utils tests 2021-05-04 21:53:52 +02:00
test_s6_rc.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_s6.py support/testing: add s6 tests 2021-05-04 21:50:40 +02:00
test_sudo.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_syslog_ng.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_tmux.py support/testing: use .assertRunOk() when possible 2021-06-26 17:41:10 +02:00
test_turbolua.py support/testing: add turbolua test 2019-10-02 20:57:08 +02:00
test_uboot_openssl_pkgconfig.py boot/uboot: add missing dependency to host-pkgconf 2021-07-17 13:18:04 +02:00
test_zfs.py package/zfs: bump version to 2.0.5 2021-06-26 15:13:03 +02:00