mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
skip testing aa-unconfined if securityfs is not available
This commit is contained in:
parent
8d422ff66e
commit
2e6bdc0b64
@ -127,6 +127,7 @@ class MinitoolsTest(AATest):
|
||||
def test_autodep(self):
|
||||
pass
|
||||
|
||||
@unittest.skipIf(apparmor.check_for_apparmor() is None, "Securityfs not mounted or doesn't have the apparmor directory.")
|
||||
def test_unconfined(self):
|
||||
output = subprocess.check_output('%s ./../aa-unconfined --configdir ./'%python_interpreter, shell=True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user