selftests: ir: skip when non-root user runs the test
authorShuah Khan <shuah@kernel.org>
Thu, 31 Jan 2019 19:43:35 +0000 (12:43 -0700)
committerShuah Khan <shuah@kernel.org>
Wed, 13 Feb 2019 16:10:47 +0000 (09:10 -0700)
commit6d771c60e50f89d017a74df62900ecd7ce65ab61
treef7a85d96cd96072c340574fbc87fd4485be3e355
parenta5180977a3253a14aec5534fead920078ee98943
selftests: ir: skip when non-root user runs the test

Skip instead of fail when non-root user runs the test.

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.sh