• Laine Stump's avatar
    fix selinux/100-static-relabel-no test · 8cb5a45f
    Laine Stump authored
    This test disables auto-relabeling so that it can test if setting a
    user-defined label in the config will work. The problem is that the
    disk image used to boot is then not labelled correctly, and qemu can't
    open it.
    
    To circumvent this failure (which is *not* of the functionality we're
    testing), this patch just temporarily sets SELinux to permissive mode
    during the test, then sets it back during cleanup.
    Signed-off-by: 's avatarLaine Stump <laine@Laine.org>
    Reviewed-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
    8cb5a45f
Name
Last commit
Last update
bin Loading commit data...
conf Loading commit data...
docs Loading commit data...
lib/Sys/Virt Loading commit data...
scripts Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitpublish Loading commit data...
Build.PL Loading commit data...
Changes Loading commit data...
LICENSE Loading commit data...
MANIFEST Loading commit data...
README Loading commit data...
perl-Sys-Virt-TCK.spec.PL Loading commit data...
prepare-release.sh Loading commit data...