test: this test requires to be able to bindmount
This commit is contained in:
parent
2848867434
commit
162587724a
1 changed files with 1 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ def test_bind_mounts(tempdir, runner):
|
|||
|
||||
@pytest.mark.skipif(not TestBase.have_test_data(), reason="no test-data access")
|
||||
@pytest.mark.skipif(not os.path.exists("/sys/fs/selinux"), reason="no SELinux")
|
||||
@pytest.mark.skipif(not TestBase.can_bind_mount(), reason="root only")
|
||||
def test_selinuxfs_ro(tempdir, runner):
|
||||
# /sys/fs/selinux must never be writable in the container
|
||||
# because RPM and other tools must not assume the policy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue