debian-forge/test
Christian Kellner 50beb4ffb5 util: add selinux config file related helpers
Add a helper, `parse_config`, to parse a selinux configuration file,
see selinux(8), and return a dictionary containing the configuration
data in key, value pairs. This, in turn, can be fed into the other
helper method, `config_get_policy`, to get the effective policy or
`None` if SELinux is disabled or the policy type is not configured.
Add a new test suite that checks the basic functionality of the
helpers above.
2020-04-15 15:39:45 +02:00
..
os-release test: add 2 more os-release tests 2020-02-29 12:35:19 +01:00
pipelines test/pipelines: drop sources.json 2020-04-15 15:29:52 +02:00
sources_tests/org.osbuild.files sources: add org.osbuild.files source 2020-02-06 19:01:12 +01:00
stages_tests tests: move from dnf- to rpm-based pipelines 2020-03-03 00:05:26 +01:00
testing-rpms improve vagrant test and its documentation 2019-07-25 12:46:53 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
osbuildtest.py test: prune cache after each stage-test 2020-04-07 18:20:42 +02:00
test_assemblers.py tests/pipelines: embed all sources with their respective pipelines 2020-03-03 00:05:26 +01:00
test_boot.py test/boot: convert -accel ... -> -M accel=... for qemu 2020-03-27 08:28:14 +01:00
test_objectstore.py test/objecstore: check cleanup of immutable files 2020-03-30 23:58:33 +02:00
test_osbuild.py pipeline: pin the sources options in the pipeline object 2020-02-19 15:59:11 +01:00
test_osrelease.py pipeline: detect_os() -> describe_os() 2020-02-29 12:35:19 +01:00
test_sources.py sources: add org.osbuild.files source 2020-02-06 19:01:12 +01:00
test_stageinfo.py Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
test_stages.py tests/pipelines: embed all sources with their respective pipelines 2020-03-03 00:05:26 +01:00
test_util_ostree.py util: new ostree module with TreeFile helper 2020-04-15 15:39:45 +02:00
test_util_selinux.py util: add selinux config file related helpers 2020-04-15 15:39:45 +02:00