mirror of
https://github.com/systemd/systemd.git
synced 2025-01-31 05:47:30 +03:00
fmf: Don't fail if we can't put selinux in permissive mode
The tests might be running unprivileged or in an environment without selinux so let's not fail if we can't put it in permissive mode.
This commit is contained in:
parent
344376adb8
commit
0250db0139
@ -4,8 +4,8 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# Switch SELinux to permissive, since the tests don't set proper contexts
|
||||
setenforce 0
|
||||
# Switch SELinux to permissive if possible, since the tests don't set proper contexts
|
||||
setenforce 0 || true
|
||||
|
||||
# Allow running the integration tests downstream in dist-git with something like
|
||||
# the following snippet which makes the dist-git sources available in $TMT_SOURCE_DIR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user