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:
Shuah Khan 2019-01-31 13:00:54 -07:00
parent ed675ed9da
commit a5180977a3

View file

@ -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);