1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
name: test-snapd-kernel-module-load
summary: A no-strings-attached, no-fuss shell for writing tests
version: 1.0
apps:
cmd:
command: bin/cmd
plugs: [kernel-module-load]
plugs:
kernel-module-load:
interface: kernel-module-load
modules:
- name: mymodule
load: denied
- name: bfq
load: on-boot
options: slice_idle_us=20 strict_guarantees=1
- name: other_module
load: denied
- name: arc4
load: on-boot
- name: xcbc
load: dynamic
- name: md4
load: dynamic
# The module does not support any options, really, but we still
# want to test that the module configuration files gets written
options: something=ok
- name: wp512
load: dynamic
# Like the above, no options are supported. But let's test "*"
options: "*"
|