]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kselftests/ir : Improve readability of modprobe error message
authorGautam Menghani <gautammenghani201@gmail.com>
Fri, 13 May 2022 19:07:20 +0000 (00:37 +0530)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 16 May 2022 19:34:19 +0000 (13:34 -0600)
Improve the readability of error message which says module not found.
The new behaviour is consistent with the modprobe command.

Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ir/ir_loopback.sh

index b90dc9939f45d24f8c2a810941c2226f0f2997dc..aff9299c941671b543e72b29ae85c480cd2fcc77 100755 (executable)
@@ -10,7 +10,7 @@ if [ $UID != 0 ]; then
 fi
 
 if ! /sbin/modprobe -q -n rc-loopback; then
-        echo "ir_loopback: module rc-loopback is not found [SKIP]"
+        echo "ir_loopback: module rc-loopback is not found in /lib/modules/`uname -r` [SKIP]"
         exit $ksft_skip
 fi