selftests: ir: skip when lirc device doesn't exist.
Skip instead of fail when lirc device doesn't exist. Signed-off-by: Shuah Khan <shuah@kernel.org> Acked-by: Sean Young <sean@mess.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
This commit is contained in:
parent
ed675ed9da
commit
a5180977a3
@ -76,7 +76,7 @@ int lirc_open(const char *rc)
|
||||
}
|
||||
|
||||
if (!dent)
|
||||
ksft_exit_fail_msg("cannot find lirc device for %s\n", rc);
|
||||
ksft_exit_skip("cannot find lirc device for %s\n", rc);
|
||||
|
||||
closedir(d);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user