mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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>
This commit is contained in:
parent
859b725579
commit
2f53da43b2
1 changed files with 5 additions and 0 deletions
5
security/apparmor/.kunitconfig
Normal file
5
security/apparmor/.kunitconfig
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
CONFIG_KUNIT=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_SECURITY=y
|
||||
CONFIG_SECURITY_APPARMOR=y
|
||||
CONFIG_SECURITY_APPARMOR_KUNIT_TEST=y
|
||||
Loading…
Add table
Add a link
Reference in a new issue