Commit a5180977 authored by Shuah Khan's avatar Shuah Khan
Browse files

selftests: ir: skip when lirc device doesn't exist.



Skip instead of fail when lirc device doesn't exist.

Signed-off-by: default avatarShuah Khan <shuah@kernel.org>
Acked-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarShuah Khan <shuah@kernel.org>
parent ed675ed9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);