]>
Commit | Line | Data |
---|---|---|
2bf9e0ab | 1 | #!/bin/sh |
b2441318 | 2 | # SPDX-License-Identifier: GPL-2.0 |
2bf9e0ab IM |
3 | # Runs static keys kernel module tests |
4 | ||
5 | if /sbin/modprobe -q test_static_key_base; then | |
6 | if /sbin/modprobe -q test_static_keys; then | |
7 | echo "static_key: ok" | |
8 | /sbin/modprobe -q -r test_static_keys | |
9 | /sbin/modprobe -q -r test_static_key_base | |
10 | else | |
11 | echo "static_keys: [FAIL]" | |
12 | /sbin/modprobe -q -r test_static_key_base | |
13 | fi | |
14 | else | |
15 | echo "static_key: [FAIL]" | |
16 | exit 1 | |
17 | fi |