apparmor/utils/test
Christian Boltz bb403893ac More test_multi profiles
This patch adds profiles for all log sniplets that are expected to
result in a profile rule.

This also means some changes in test-libapparmor-test_multi.py are
needed:
- split off log_to_profile_skip from log_to_profile_known_failures to
  - only skip tests in log_to_profile_skip (causing a crash or requiring
    user interaction)
  - run tests in log_to_profile_known_failures, but expect a non-equal
    result (caused by not added rules etc.)
- add quite some tests to log_to_profile_known_failures - they were
  skipped before because they didn't have a *.profile file.
- add handling for hats to shorten list of known failures
  This fixes testcase24 and testcase33 (after adjusting the profiles)
  and lots of the new *.profile files.
- since we now have *.profile files for all log events that should result
  in a profile rule, no longer ignore FileNotFoundError


Acked-by: Seth Arnold <seth.arnold@canonical.com>
2016-11-01 21:40:29 +01:00
..
cleanprof_test.in [8/9] Add support for handling dbus rules everywhere 2016-05-23 23:21:13 +02:00
cleanprof_test.out [14/38] Use FileRule and FileRuleset 2016-10-01 19:54:48 +02:00
common_test.py [5/9] Add tests for DbusRule and DbusRuleset 2016-05-23 23:15:19 +02:00
easyprof.conf This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
fake_ldd [15/38] Change handle_children() and ask_the_questions() to FileRule 2016-10-01 19:55:58 +02:00
logprof.conf Update perl abstraction, logprof.conf, severity.db and tests for Debian/Ubuntu 2014-08-20 19:14:24 -05:00
Makefile Run utils tests with C locale 2016-05-10 14:31:25 +02:00
minitools_test.py Use AATest and tmpdir for minitools test 2015-06-27 01:29:46 +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 Switch utils to python3 2016-10-01 20:57:09 +02:00
test-aa-easyprof.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-aa.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-aamode.py Move str_to_mode() tests to test-aamode.py 2016-10-10 23:25:07 +02:00
test-aare.py move globbing tests to test-aare.py 2016-10-10 23:07:16 +02:00
test-baserule.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-capability.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-change_profile.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-common.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-config.py Rename config_test.py to test-config.py 2016-10-10 23:27:19 +02:00
test-dbus.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-example.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-file.py complete test coverage for FileRule 2016-10-10 22:08:15 +02:00
test-libapparmor-test_multi.py More test_multi profiles 2016-11-01 21:40:29 +01:00
test-logparser.py Accept more log formats in logparser.py 2015-10-03 20:18:54 +02:00
test-mount_parse.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-network.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-parser-simple-tests.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-pivot_root_parse.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-ptrace.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-regex_matches.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-rlimit.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-severity.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-signal.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-translations.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-unix_parse.py Switch utils to python3 2016-10-01 20:57:09 +02:00