Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/exec: Makefile is a run-time dependency, add it to the install list

The execveat test try to exec the Makefile file and expect an EACCES
results. When running the test in the installed destination it would
fail with ENOENT since the file is not there.

Add Makefile to the TEST_FILES list so it's copied at install time.

Signed-off-by: Yannick Brosseau <scientist@fb.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

authored by

Yannick Brosseau and committed by
Shuah Khan
f80eb428 1a77e2bd

+2 -1
+2 -1
tools/testing/selftests/exec/Makefile
··· 18 18 $(CC) $(CFLAGS) -o $@ $^ 19 19 20 20 TEST_PROGS := execveat 21 - TEST_FILES := $(DEPS) 21 + # Makefile is a run-time dependency, since it's accessed by the execveat test 22 + TEST_FILES := $(DEPS) Makefile 22 23 23 24 include ../lib.mk 24 25