Skip to content

[2.12] utils/test-network.py: fix failing testcase

When dc010bc0 was backported to the apparmor-2.13 branch (in commit 75236d62), it did not take into account cb8c3377, 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: !391 (closed) Signed-off-by: Steve Beattie steve.beattie@canonical.com Signed-off-by: John Johansen john.johansen@canonical.com (cherry picked from commit 0c65b9ae)

This fix was already applied to the 2.13 branch, but is also needed for 2.12.

Merge request reports