aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ir/ir_loopback.c
diff options
context:
space:
mode:
authorShuah Khan <shuah@kernel.org>2019-01-31 13:00:54 -0700
committerShuah Khan <shuah@kernel.org>2019-02-13 09:10:41 -0700
commita5180977a3253a14aec5534fead920078ee98943 (patch)
tree1183fb39ad77b08d9f2e94c9f0615585d6ffc0e1 /tools/testing/selftests/ir/ir_loopback.c
parentselftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated (diff)
downloadwireguard-linux-a5180977a3253a14aec5534fead920078ee98943.tar.xz
wireguard-linux-a5180977a3253a14aec5534fead920078ee98943.zip
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>
Diffstat (limited to 'tools/testing/selftests/ir/ir_loopback.c')
-rw-r--r--tools/testing/selftests/ir/ir_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ir/ir_loopback.c b/tools/testing/selftests/ir/ir_loopback.c
index 8cdf1b89ac9c..ff351bb7c163 100644
--- 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);