mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
skip testing aa-unconfined if securityfs is not available
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user