[apparmor] [patch] don't use system /etc/apparmor.d/ in severity_test.py

Christian Boltz apparmor at cboltz.de
Mon Jul 14 20:00:52 UTC 2014


Hello,

this patch changes severity_test.py to use the in-tree profiles instead 
of the system profiles in /etc/apparmor.d/

=== modified file 'utils/test/severity_test.py'
--- utils/test/severity_test.py 2014-02-13 00:59:27 +0000
+++ utils/test/severity_test.py 2014-07-14 19:54:07 +0000
@@ -27,7 +27,7 @@
         #copy the local profiles to the test directory
         if os.path.exists('./profiles'):
             shutil.rmtree('./profiles')
-        shutil.copytree('/etc/apparmor.d/', './profiles/', symlinks=True)
+        shutil.copytree('../../profiles/apparmor.d/', './profiles/', symlinks=True)
 
     def tearDown(self):
         #Wipe the local profiles from the test directory



Regards,

Christian Boltz
-- 
Widerstand ist zwecklos (wenn er kleiner als 1 Ohm ist).




More information about the AppArmor mailing list