]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: add .kunitconfig
authorRyota Sakamoto <sakamo.ryota@gmail.com>
Sun, 25 Jan 2026 10:05:48 +0000 (19:05 +0900)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 1 Feb 2026 20:01:19 +0000 (12:01 -0800)
commit2f53da43b20389b78ecfdb30f6349753acecb59e
treec41169099bccf3fc9944f43a384057aaa9714507
parent859b725579718ad1b66a81237df9d786f38679da
apparmor: add .kunitconfig

Add .kunitconfig file to the AppArmor directory to enable easy execution of
KUnit tests.

AppArmor tests (CONFIG_SECURITY_APPARMOR_KUNIT_TEST) depend on
CONFIG_SECURITY_APPARMOR which also depends on CONFIG_SECURITY and
CONFIG_NET. Without explicitly enabling these configs in the .kunitconfig,
developers will need to specify config manually.

With the .kunitconfig, developers can run the tests:
  $ ./tools/testing/kunit/kunit.py run --kunitconfig security/apparmor

Signed-off-by: Ryota Sakamoto <sakamo.ryota@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/.kunitconfig [new file with mode: 0644]