path: root/tools
diff options
authorYannick Brosseau <scientist@fb.com>2016-06-15 11:36:12 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2016-06-15 13:35:55 -0600
commitf80eb4289491f6ddb0788636ce0bd6f5d3a2012a (patch)
tree37a52f2a7f5ec8a578b02160e7e625941bbabb94 /tools
parentkselftests: timers: Add set-tz test case (diff)
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>
Diffstat (limited to 'tools')
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile
index 4e400eb83657..d4300602bf37 100644
--- a/tools/testing/selftests/exec/Makefile
+++ b/tools/testing/selftests/exec/Makefile
@@ -18,7 +18,8 @@ execveat.denatured: execveat
$(CC) $(CFLAGS) -o $@ $^
TEST_PROGS := execveat
+# Makefile is a run-time dependency, since it's accessed by the execveat test
+TEST_FILES := $(DEPS) Makefile
include ../lib.mk