Commit 15477b31 authored by Gautam Menghani's avatar Gautam Menghani Committed by Shuah Khan

kselftests/ir : Improve readability of modprobe error message

Improve the readability of error message which says module not found.
The new behaviour is consistent with the modprobe command.
Signed-off-by: default avatarGautam Menghani <gautammenghani201@gmail.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent c7b607fa
...@@ -10,7 +10,7 @@ if [ $UID != 0 ]; then ...@@ -10,7 +10,7 @@ if [ $UID != 0 ]; then
fi fi
if ! /sbin/modprobe -q -n rc-loopback; then 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 exit $ksft_skip
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment