diff options
author | Shuah Khan <shuah@kernel.org> | 2019-01-31 21:00:54 +0100 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-02-13 17:10:41 +0100 |
commit | a5180977a3253a14aec5534fead920078ee98943 (patch) | |
tree | 1183fb39ad77b08d9f2e94c9f0615585d6ffc0e1 /tools/testing/selftests/ir | |
parent | selftests: ir: fix warning: "%s" directive output may be truncated ’ direct... (diff) | |
download | linux-a5180977a3253a14aec5534fead920078ee98943.tar.xz 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')
-rw-r--r-- | tools/testing/selftests/ir/ir_loopback.c | 2 |
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); |