apparmor/utils/test
Steve Beattie 069d63a849
utils/test-network.py: fix failing testcase
When dc010bc034 was
backported to the apparmor-2.13 branch (in commit
75236d62e2), it did not take into
account cb8c3377ba, which creates the
common/list_af_names.sh script as used in the test case, was not also
backported to the apparmor-2.13 branch.

Change the test case to get the list of network AF names via the same
make invocation taken by the utils/vim/create-apparmor.vim.py script
before the common/list_af_names.sh existed.

PR: https://gitlab.com/apparmor/apparmor/merge_requests/391
Signed-off-by: Steve Beattie <steve.beattie@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
(cherry picked from commit 0c65b9aeb9)
2019-06-30 19:23:02 +02:00
..
cleanprof_test.in Merge branch 'cboltz-abi-2.13' into 'apparmor-2.13' 2018-10-03 15:03:51 +00:00
cleanprof_test.out Merge branch 'cboltz-abi-2.13' into 'apparmor-2.13' 2018-10-03 15:03:51 +00: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 usr merge fixups 2019-02-13 09:41:34 -08: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-09-11 17:03:51 -07: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 usr merge fixups 2019-02-13 09:41:34 -08: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 Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02:00
test-change_profile.py Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02: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 Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02:00
test-example.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-file.py FileRule: detect that 'a' is covered by 'w' 2017-12-03 17:51:04 +01:00
test-libapparmor-test_multi.py Replace existing_profiles & fix minitools for named profiles 2018-12-07 22:47:11 -08:00
test-logparser.py support 'owner' file events in logparser.py 2017-12-13 20:16:29 +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 utils/test-network.py: fix failing testcase 2019-06-30 19:23:02 +02:00
test-parser-simple-tests.py parse_profile_data(): Ensure last line in a profile is valid 2018-11-13 16:03:22 -08:00
test-pivot_root_parse.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
test-profile-list.py add ProfileList class to store list of profiles 2018-12-07 22:46:28 -08:00
test-profile-storage.py extend add_or_remove_flag() to handle str for old flags 2018-09-11 17:03:51 -07:00
test-ptrace.py Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02:00
test-regex_matches.py update python tools to support includes with absolute paths 2017-12-20 17:21:21 -06:00
test-rlimit.py Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02:00
test-severity.py Switch utils to python3 2016-10-01 20:57:09 +02:00
test-signal.py Drop 'log' parameter from ReadLog 2017-08-28 23:15:51 +02:00
test-translations.py Display "owner permissions on/off" buttons in aa-logprof 2017-12-17 16:45:49 +01:00
test-unix_parse.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00