kill dentry_update_name_case()
[sfrench/cifs-2.6.git] / tools / testing / selftests / static_keys / test_static_keys.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
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