diff options
author | Shuah Khan <shuah@kernel.org> | 2019-01-31 13:00:54 -0700 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-02-13 09:10:41 -0700 |
commit | a5180977a3253a14aec5534fead920078ee98943 (patch) | |
tree | 1183fb39ad77b08d9f2e94c9f0615585d6ffc0e1 | |
parent | ed675ed9da6d951322efd72d739d6b5ce1c18f02 (diff) | |
download | linux-a5180977a3253a14aec5534fead920078ee98943.tar.gz linux-a5180977a3253a14aec5534fead920078ee98943.tar.bz2 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>
-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); |