Skip to content

Commit 908a26e

Browse files
musamaanjumshuahkh
authored andcommitted
selftests/exec: Remove pipe from TEST_GEN_FILES
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: 61016db ("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>
1 parent 01dabed commit 908a26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/exec/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CFLAGS += -D_GNU_SOURCE
55

66
TEST_PROGS := binfmt_script non-regular
77
TEST_GEN_PROGS := execveat load_address_4096 load_address_2097152 load_address_16777216
8-
TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir pipe
8+
TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir
99
# Makefile is a run-time dependency, since it's accessed by the execveat test
1010
TEST_FILES := Makefile
1111

0 commit comments

Comments
 (0)