• 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
..
050-dynamic-relabel-yes.t Loading commit data...
055-dynamic-base-label.t Loading commit data...
100-static-relabel-no.t Loading commit data...
105-static-relabel-fail.t Loading commit data...
110-static-relabel-yes.t Loading commit data...