diskimage-builder/tests
Ian Wienand 818b75af41 Move selinux packages to redhat-common
Change I008f8bbc9c8414ce948c601e3907e27764e15a52 has shown that we
build redhat images without the "semange" tool available, which comes
from the policycoreutils-python package (see also
I3f9e2c322d042a5dddba33451c0fc21a4d32a88a).

I403e7806ae10d5dd96d0727832f4da20e34b94c7 added some of the selinux
libraries to yum-minimal for ansible support, but not to others.

Given both these changes, it seems that selinux[-targeted],
libselinux[-python] and policycoreutils[-python] can reasonably
considered part of all base images.  Move the selinux related packages
into redhat-common.

This also adds it explicitly to install_test_deps.sh.  It was actually
being dragged in by the docker install, but is a required component
for building (should be in bindep, but not there with that yet).

Change-Id: Idd4ae71ee6deee84604823b6b5dc4a845f316e01
Related-Bug: #1707788
2017-08-01 11:08:54 +10:00
..
elements/fake-os tests/elements/fake-os: add '/tmp' as top level dir 2016-05-13 11:17:42 +10:00
install_test_deps.sh Move selinux packages to redhat-common 2017-08-01 11:08:54 +10:00
README.rst Rework functional test runner 2016-02-19 13:50:09 +11:00
run_dib_library_tests.sh Ignore missing path in unmount_dir 2017-04-06 10:08:13 -04:00
run_functests.sh Remove mirror create 2017-06-28 18:59:51 +10:00
run_output_format_test.sh Remove use of 'which'. 2017-05-19 12:43:36 -07:00

DIB Testing
===========

There are several interfaces for testing various parts of DIB

 * run_dib_library_tests.sh : run unit-tests for internal
     diskimage-builder library functions

 * run_functests.sh : run functional testing provided by elements

 * run_output_format_test.sh : run a test of image conversion
     (requires docker)