apparmor/utils/test
John Johansen 8275386e55 Merge [2.11..2.13] Support setuptools >= 61.2 in Python tests
Fix for #253, by mirroring the change from 1c23f5e1e4

On top of that, fix setuptools version detection in buildpath.py. libraries/libapparmor/swig/python/test/buildpath.py: The changes introduced in cc7f549665 targetted a wrong setuptools version (61.2). The change in build directory naming has been introduced with 62.0.

Fixes #259 Fixes #39

The first 3 commits are based on https://gitlab.com/apparmor/apparmor/-/merge_requests/897, the other two come from https://gitlab.com/apparmor/apparmor/-/merge_requests/904. Since there are several differences between 2.13 and >= 3.0, I had to adjust the patches at several places.

I propose this MR for 2.11, 2.12 and 2.13.

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/910
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
(cherry picked from commit 3c047517a4)
Signed-off-by: John Johansen <john.johansen@canonical.com>
2022-08-22 15:30:33 -07:00
..
cleanprof_test.in 2.11: Add basic support for abi rules to the tools 2018-10-03 21:28:44 +02:00
cleanprof_test.out 2.11: Add basic support for abi rules to the tools 2018-10-03 21:28:44 +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 utils: fixup test-aa.py tests that fail due to usr-merge 2019-11-27 23:42:16 +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 [2.11..2.13] Support setuptools >= 61.2 in Python tests 2022-08-22 15:30:33 -07:00
minitools_test.py switch minitools_test.py to a profile without alternation 2018-10-03 19:35:11 +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 utils: Fix apparmor.easyprof import in test-aa-easyprof.py 2017-03-02 21:25:01 +00:00
test-aa.py utils: fixup test-aa.py tests that fail due to usr-merge 2019-11-27 23:42:16 +01: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 logparser.py parse_event(): always store family, protocol and sock_type 2016-11-19 10:55:03 +01:00
test-change_profile.py logparser.py parse_event(): always store family, protocol and sock_type 2016-11-19 10:55:03 +01:00
test-common.py Switch utils to python3 2016-10-01 20:57:09 +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 utils: Don't enforce ordering of dbus rule attributes 2017-02-28 23:04:24 +00:00
test-example.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-file.py Merge branch 'cboltz-file-w-covered-by-a' into 'master' 2017-12-12 22:52:10 +00:00
test-libapparmor-test_multi.py Fix aa-logprof crash on ptrace garbage log events 2017-05-19 22:47:36 +02:00
test-logparser.py logparser.py parse_event(): always store family, protocol and sock_type 2016-11-19 10:55:03 +01:00
test-mount_parse.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
test-network.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-parser-simple-tests.py Merge Set (instead of compare) exresult 2022-08-16 19:27:29 +00:00
test-pivot_root_parse.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
test-ptrace.py logparser.py parse_event(): always store family, protocol and sock_type 2016-11-19 10:55:03 +01:00
test-regex_matches.py Fix strip_quotes() to handle empty strings 2020-05-26 00:45:50 -07: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 logparser.py parse_event(): always store family, protocol and sock_type 2016-11-19 10:55:03 +01:00
test-translations.py Check hotkey conflicts case-insensitive 2020-11-01 23:25:33 +01:00
test-unix_parse.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00