]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: gen_kselftest_tar.sh: Do not clobber kselftest/
authorKees Cook <keescook@chromium.org>
Wed, 30 Oct 2019 19:46:08 +0000 (12:46 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 7 Nov 2019 21:43:27 +0000 (14:43 -0700)
commit1a2b9a61b1b17f97ce30acc8d372eb9a351c16f8
treed633df52c7247e2bbddc892fce717b6cfb3b992a
parent479ec591a4a88b1dbd9c5947339bce6c4f30aa2e
selftests: gen_kselftest_tar.sh: Do not clobber kselftest/

The default installation location for gen_kselftest_tar.sh was still
"kselftest/" which collides with the existing directory. Instead, this
moves the installation target into "kselftest_install/kselftest/" and
adjusts the tar creation accordingly. This also adjusts indentation and
logic to be consistent.

Fixes: 5ffb86723295 ("selftests: Extract single-test shell logic from lib.mk")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/gen_kselftest_tar.sh
tools/testing/selftests/kselftest_install.sh