selinux/checkpolicy/tests
Christian Göttsche 2b9f21ef81 checkpolicy: add round-trip tests
Add round-trip tests for checkpolicy(8).
Test standard and MLS minimal policies as well as SELinux and Xen
policies with each available statement.
The output is checked against an expected result and then then checked
for idempotence.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-11-07 16:27:26 -05:00
..
policy_allonce_mls.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce_mls.expected_opt.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce_mls.expected.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce_xen.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce_xen.expected_opt.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce_xen.expected.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce.expected_opt.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_allonce.expected.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_minimal_mls.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
policy_minimal.conf checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
test_roundtrip.sh checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00