Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ryota Sakamoto and committed by
John Johansen
2f53da43 859b7255

+5
+5
security/apparmor/.kunitconfig
··· 1 + CONFIG_KUNIT=y 2 + CONFIG_NET=y 3 + CONFIG_SECURITY=y 4 + CONFIG_SECURITY_APPARMOR=y 5 + CONFIG_SECURITY_APPARMOR_KUNIT_TEST=y