]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/exec: Add non-regular to TEST_GEN_PROGS
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 10 Feb 2022 17:13:23 +0000 (22:13 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 11 Feb 2022 17:18:13 +0000 (10:18 -0700)
commit9aca7546505259e05060a350330dcce1c1e1a63b
treeb153d365b0b8af2fcb4280f7bbb3ae86e4f6a821
parent5037fcb76a40b42396e91809f48f5976bff262e5
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: a03978594fe1 ("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>
tools/testing/selftests/exec/Makefile