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


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to