selinux/scripts
William Roberts 562d6d1527 ci: run SELinux kernel test suite
The current Travis CI runs the userspace tooling and libraries against
policy files, but cannot test against an SELinux enabled kernel. Thus,
some tests are not being done in the CI. Travis, unfortunately only
provides Ubuntu images, so in order to run against a modern distro with
SELinux in enforcing mode, we need to launch a KVM with something like
Fedora.

This patch enables this support by launching a Fedora32 Cloud Image with
the SELinux userspace library passed on from the Travis clone, it then
builds and replaces the current SELinux bits on the Fedora32 image and
runs the SELinux testsuite.

The cloud image run can be controlled with the TRAVIS env variable:
TRAVIS_CLOUD_IMAGE_VERSION. That variable takes the major and minor
version numbers in a colon delimited string, eg: "32:1.6".

Signed-off-by: William Roberts <william.c.roberts@intel.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
2020-06-18 19:22:12 +02:00
..
ci ci: run SELinux kernel test suite 2020-06-18 19:22:12 +02:00
.gitignore
env_use_destdir scripts/env_use_destdir: propagate PREFIX, LIBDIR, BINDIR, etc. 2020-05-05 15:19:05 +02:00
Lindent
make-update
release scripts/release: Update links to use release assets instead of wiki links 2019-02-05 09:56:34 +01:00
run-flake8 run-flake8: Filter out ./.git/ directory 2020-05-13 11:11:27 +02:00
run-scan-build libsepol, libsemanage: add a macro to silence static analyzer warnings in tests 2019-09-30 08:43:41 -04:00