2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

skip testing aa-unconfined if securityfs is not available

This commit is contained in:
Christian Boltz
2020-12-25 21:24:42 +01:00
parent 8d422ff66e
commit 2e6bdc0b64

View File

@@ -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)