[apparmor] [patch] parser/tst/simple_tests/profile/flags/* - remove or replace #include lines
Christian Boltz
apparmor at cboltz.de
Wed Aug 6 20:45:55 UTC 2014
Hello,
the test profiles in parser/tst/simple_tests/profile/flags/* contain
#include <includes/base>
which doesn't exist.
Instead of changing it to abstractions/, it's better to completely
remove the #include line. Those tests are for testing flags, not include
files ;-)
In some cases (inside hats), I replaced the include with
/foo/bar r,
to avoid empty hats.
The patch is quite big (~1000 lines), therefore I'll attach it instead
of pasting it into the mail.
With the patch applied, all tests give the expected result with
apparmor-parser 2.8.95.
Regards,
Christian Boltz
--
> ich kapire es aber noch immer nicht... man kann mir diesen Sachen doch
> gar nix anfangen :/
Hallo? Du sprichst über ein Produkt eines Herstellers, der Windows auf
den Markt gebracht hat!
[> Sascha Peters und Werner Flamme in postfixbuch-users]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile-flags-drop-include.diff
Type: text/x-patch
Size: 22221 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140806/d56d7bc5/attachment-0001.bin>
More information about the AppArmor
mailing list