Commit f80eb428 authored by Yannick Brosseau's avatar Yannick Brosseau Committed by Shuah Khan

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: default avatarYannick Brosseau <scientist@fb.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 1a77e2bd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment