提交 f80eb428 编写于 作者: Y Yannick Brosseau 提交者: 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: NYannick Brosseau <scientist@fb.com>
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册