projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed675ed
)
selftests: ir: skip when lirc device doesn't exist.
author
Shuah Khan
<shuah@kernel.org>
Thu, 31 Jan 2019 20:00:54 +0000
(13:00 -0700)
committer
Shuah Khan
<shuah@kernel.org>
Wed, 13 Feb 2019 16:10:41 +0000
(09:10 -0700)
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>
tools/testing/selftests/ir/ir_loopback.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/testing/selftests/ir/ir_loopback.c
b/tools/testing/selftests/ir/ir_loopback.c
index 8cdf1b89ac9cf89e8d05128d99b0871112eb0336..ff351bb7c163d8eff9b0ed1b8cff16f3e544d17b 100644
(file)
--- a/
tools/testing/selftests/ir/ir_loopback.c
+++ b/
tools/testing/selftests/ir/ir_loopback.c
@@
-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);