OpenCloudOS-Kernel/tools/testing/selftests/exec
Muhammad Usama Anjum a7e793a867 selftests/exec: Add non-regular to TEST_GEN_PROGS
non-regular file needs to be compiled and then copied to the output
directory. Remove it from TEST_PROGS and add it to TEST_GEN_PROGS. This
removes error thrown by rsync when non-regular object isn't found:

rsync: [sender] link_stat "/linux/tools/testing/selftests/exec/non-regular" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]

Fixes: 0f71241a8e ("selftests/exec: add file type errno tests")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-02-11 10:18:13 -07:00
..
.gitignore tools/testing/selftests: add self-test for verifying load alignment 2020-10-16 11:11:21 -07:00
Makefile selftests/exec: Add non-regular to TEST_GEN_PROGS 2022-02-11 10:18:13 -07:00
binfmt_script selftests/exec: Add binfmt_script regression test 2020-05-21 10:24:39 -05:00
execveat.c selftests/exec: Verify execve of non-regular files fail 2020-05-22 09:29:00 -06:00
load_address.c tools/testing/selftests: add self-test for verifying load alignment 2020-10-16 11:11:21 -07:00
non-regular.c selftests/exec: add file type errno tests 2020-08-14 19:56:56 -07:00
recursion-depth.c exec selftests: test ->recursion_depth 2019-05-14 19:52:50 -07:00