]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftests: warn if failure is due to lack of executable bit
authorLuis R. Rodriguez <mcgrof@kernel.org>
Thu, 3 Aug 2017 20:24:36 +0000 (13:24 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 9 Aug 2017 20:41:20 +0000 (14:41 -0600)
commit43c6437453f2e777da306c81c1cb47612e21e972
tree5e6b4611b2a5728a8f31ded90a022f4e5a94af79
parentc0bb2cf40e42b2fe5c8aa1c4f6f4d09c98839d91
selftests: warn if failure is due to lack of executable bit

Executing selftests is fragile as if someone forgot to set a secript
as executable the test will fail, and you won't know for sure if the
failure was caused by the lack of proper permissions or something else.

Setting scripts as executable is required, this also enable folks to
execute selftests as independent units.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/lib.mk