apparmor/utils/test
Christian Boltz b00aab0843
let change_profile_flags() change flags in child profiles
... instead of overwriting them with the flags of the main profile.

This fixes a longstanding issue with aa-complain, aa-enforce and
aa-audit which broke the flags of child profiles and hats if they
differed from the main profile.

It also fixes several issues documented in the tests (which obviously
need adjustment to match the fixed behaviour).

Also change the "no profile found" cases to AppArmorException - errors
in a profile are not worth triggering AppArmorBug ;-)
2018-07-25 23:22:33 +02:00
..
cleanprof_test.in let var_transform() sort variable content 2018-05-31 22:00:36 +02:00
cleanprof_test.out let var_transform() sort variable content 2018-05-31 22:00:36 +02:00
common_test.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
easyprof.conf This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
fake_ldd Handle ldd $? == 1 in get_reqs() 2016-12-31 00:48:41 +01:00
logprof.conf utils: Update the logprof.conf in the test dir to point to in-tree paths 2017-03-02 21:21:21 +00:00
Makefile Merge branch 'exit-from-Makefile-shell-snippets' into 'master' 2017-12-05 17:44:48 +00:00
minitools_test.py change_profile_flags: use ', ' as flags delimiter 2018-07-25 21:33:22 +02:00
runtests-py2.sh utils/tests: fix bashisms in runtests-py2.sh 2014-09-03 13:00:33 -07:00
runtests-py3.sh fix utils/test/runtests-py*.sh exitcode 2014-10-03 11:48:21 +02:00
severity.db Update perl abstraction, logprof.conf, severity.db and tests for Debian/Ubuntu 2014-08-20 19:14:24 -05:00
severity_broken.db Update perl abstraction, logprof.conf, severity.db and tests for Debian/Ubuntu 2014-08-20 19:14:24 -05:00
test-aa-decode.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-aa-easyprof.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-aa.py let change_profile_flags() change flags in child profiles 2018-07-25 23:22:33 +02:00
test-aamode.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-aare.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-baserule.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-capability.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-change_profile.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-common.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-config.py utils: Update the logprof.conf in the test dir to point to in-tree paths 2017-03-02 21:21:21 +00:00
test-dbus.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-example.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-file.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-libapparmor-test_multi.py fix serialize_profile() calls to always use a dict for options 2018-06-25 21:42:29 +02:00
test-logparser.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-mount_parse.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-network.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-parser-simple-tests.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-pivot_root_parse.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-profile-storage.py extend add_or_remove_flag() to handle str for old flags 2018-07-25 20:59:34 +02:00
test-ptrace.py add some tests for BaseRule/BaseRuleset 2018-06-09 20:53:53 +02:00
test-regex_matches.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-rlimit.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-severity.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-signal.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-translations.py make utils tests less verbose 2018-04-08 20:18:30 +02:00
test-unix_parse.py make utils tests less verbose 2018-04-08 20:18:30 +02:00