selftests/sgx: Add "test_encl.elf" to TEST_FILES
authorYi Lai <yi1.lai@intel.com>
Fri, 21 Apr 2023 03:31:23 +0000 (11:31 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 8 May 2023 17:01:03 +0000 (11:01 -0600)
commit4b79f76920a49fc13766b95df1df1f4d700acbad
tree8b9bc6d4f25cbefe58a2a7d8488d45300f9a6758
parentac9a78681b921877518763ba0e89202254349d1b
selftests/sgx: Add "test_encl.elf" to TEST_FILES

The "test_encl.elf" file used by test_sgx is not installed in
INSTALL_PATH. Attempting to execute test_sgx causes false negative:

"
enclave executable open(): No such file or directory
main.c:188:unclobbered_vdso:Failed to load the test enclave.
"

Add "test_encl.elf" to TEST_FILES so that it will be installed.

Fixes: 2adcba79e69d ("selftests/x86: Add a selftest for SGX")
Signed-off-by: Yi Lai <yi1.lai@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/sgx/Makefile