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

selftests: static_keys: fix test name in messages

As a general rule, the name of the selftest is printed at the beginning
of every message.

Use "static_keys" (name of the test itself) consistently instead of mixing
"static_key" and "static_keys" at the beginning of the messages in the
test_static_keys script.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Javier Carrasco and committed by
Shuah Khan
1c71a121 5b45a753

+4 -4
+4 -4
tools/testing/selftests/static_keys/test_static_keys.sh
··· 6 6 ksft_skip=4 7 7 8 8 if ! /sbin/modprobe -q -n test_static_key_base; then 9 - echo "static_key: module test_static_key_base is not found [SKIP]" 9 + echo "static_keys: module test_static_key_base is not found [SKIP]" 10 10 exit $ksft_skip 11 11 fi 12 12 13 13 if ! /sbin/modprobe -q -n test_static_keys; then 14 - echo "static_key: module test_static_keys is not found [SKIP]" 14 + echo "static_keys: module test_static_keys is not found [SKIP]" 15 15 exit $ksft_skip 16 16 fi 17 17 18 18 if /sbin/modprobe -q test_static_key_base; then 19 19 if /sbin/modprobe -q test_static_keys; then 20 - echo "static_key: ok" 20 + echo "static_keys: ok" 21 21 /sbin/modprobe -q -r test_static_keys 22 22 /sbin/modprobe -q -r test_static_key_base 23 23 else ··· 25 25 /sbin/modprobe -q -r test_static_key_base 26 26 fi 27 27 else 28 - echo "static_key: [FAIL]" 28 + echo "static_keys: [FAIL]" 29 29 exit 1 30 30 fi