aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/gen_kselftest_tar.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-11-07selftests: gen_kselftest_tar.sh: Do not clobber kselftest/Kees Cook1-8/+13
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: 42d46e57ec97 ("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>
2018-01-12selftests: gen_kselftest_tar.h: Add SPDX license identifierShuah Khan1-3/+1
Replace GPL license statement with SPDX GPL-2.0 license identifier. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-03-24selftests: Add tool to generate kselftest tar archiveShuah Khan1-0/+55
gen_kselftest_tar.sh tool generates kselftest tar archive. This tool supports uncompressed tar, gz, bz, and xz compression formats and the default compression format is gzip. This tool runs kselftest install tool as its back-end. Usage: cd tools/testing/selftests ./gen_kselftest_tar [ tar | targz | tarbz2 | tarxz ] Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>