]> Git Repo - linux.git/commitdiff
selftests/exec: Makefile is a run-time dependency, add it to the install list
authorYannick Brosseau <[email protected]>
Wed, 15 Jun 2016 18:36:12 +0000 (11:36 -0700)
committerShuah Khan <[email protected]>
Wed, 15 Jun 2016 19:35:55 +0000 (13:35 -0600)
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 <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
tools/testing/selftests/exec/Makefile

index 4e400eb83657ce5f35dac44300d61e58244af820..d4300602bf376a5f6e87b1eb17620d3652dd9795 100644 (file)
@@ -18,7 +18,8 @@ execveat.denatured: execveat
        $(CC) $(CFLAGS) -o $@ $^
 
 TEST_PROGS := execveat
-TEST_FILES := $(DEPS)
+# Makefile is a run-time dependency, since it's accessed by the execveat test
+TEST_FILES := $(DEPS) Makefile
 
 include ../lib.mk
 
This page took 0.050118 seconds and 4 git commands to generate.