2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

switch minitools_test.py to a profile without alternation

... instead of backporting support for alternations in profile names to
2.11
This commit is contained in:
Christian Boltz
2018-10-03 19:35:11 +02:00
parent d55d99cbf1
commit 9fb21a702c

View File

@@ -38,9 +38,9 @@ class MinitoolsTest(AATest):
apparmor.profile_dir = self.profile_dir
# Path for the program
self.test_path = '/usr/sbin/winbindd'
self.test_path = '/usr/lib/dovecot/anvil'
# Path for the target file containing profile
self.local_profilename = '%s/usr.sbin.winbindd' % self.profile_dir
self.local_profilename = '%s/usr.lib.dovecot.anvil' % self.profile_dir
def test_audit(self):
# Set test profile to audit mode and check if it was correctly set