selftests/exec: Remove pipe from TEST_GEN_FILES
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 27 Jan 2022 16:33:45 +0000 (21:33 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:30:39 +0000 (18:30 +0100)
commit8f0fff8b5968a840379f66ef9453ae87636b41fe
tree4341b22096df07fd19584d44fbb2f22c71a229e8
parent6304a613a97d6dcd49b93fbad31e9f39d1e138d6
selftests/exec: Remove pipe from TEST_GEN_FILES

commit 908a26e139e8cf21093acc56d8e90ddad2ad1eff upstream.

pipe named FIFO special file is being created in execveat.c to perform
some tests. Makefile doesn't need to do anything with the pipe. When it
isn't found, Makefile generates the following build error:

make: *** No rule to make target
'../tools/testing/selftests/exec/pipe', needed by 'all'.  Stop.

pipe is created and removed during test run-time.

Amended change log to add pipe remove info:
Shuah Khan <skhan@linuxfoundation.org>

Fixes: 61016db15b8e ("selftests/exec: Verify execve of non-regular files fail")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/exec/Makefile